diff options
| author | Chuck Lever <cel@kernel.org> | 2026-09-08 11:16:00 -0400 |
|---|---|---|
| committer | Chuck Lever <cel@kernel.org> | 2026-10-04 21:15:29 -0400 |
| commit | f10ffc243355b3921271b3c4060214357128d0bf (patch) | |
| tree | 19cfb30261356ac081eee8309d1b5b8a89b95ede /rust/kernel/alloc/kvec/errors.rs | |
| parent | aa41b1bc7520da91c2483e6237fd4658c69daf25 (diff) | |
xdrgen: Report unsupported client-side directives without a traceback
The struct and union emitters raise NotImplementedError when a
"pragma pages" or "pragma aggregate" member is generated for the
client peer. The source subcommand catches the parse and semantic
errors but not that one, so a client generation request for such a
specification emits partial output and then a Python traceback,
which buries the one line that says what is unsupported.
Catch the exception in the source subcommand and report its message
on stderr the way the other diagnostics are reported.
Signed-off-by: Chuck Lever <cel@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions
