Rust: explore (size) optimizations that should be on by default, in the examples or (upcoming) Rust modules #17515
Labels
Area: Rust
Area: Rust wrapper
Type: enhancement
The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation
Candidates are:
-Zbuild-std=core
, applying all the above to core-Zbuild-std-features=panic_immediate_abort
(depending on that), completely sidestepping panic handling in favor of an abort (HCF, or whatever that is on the platform). That makes debugging a lot harder but should help code size a lot.panic-handler_format
feature of riot-wrappers by default. That'd be like the little brother of panic_immediate_abort, and would still print which thread panicked but not where. May be a middle ground, but let's test aborting panics too: It could well be that when a debugger is attached, the stack recovery prints that RIOT does actually give better information on the error cause than the line-number-less simple panic handler.The text was updated successfully, but these errors were encountered: