mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-10 10:46:32 +00:00
Replace deprecated -Zbuild-std-features=panic_immediate_abort with -Cpanic=immediate-abort compiler flag via RUSTFLAGS. The panic_immediate_abort feature has been stabilized as a real panic strategy in recent Rust nightly versions. The old method of enabling it via -Zbuild-std-features is no longer supported and triggers a compile error in core/src/panicking.rs. Changes: * cmake/nuttx_add_rust.cmake: Use RUSTFLAGS with -Cpanic=immediate-abort * tools/Rust.mk: Use RUSTFLAGS with -Cpanic=immediate-abort Signed-off-by: Huang Qi <huangqi3@xiaomi.com> |
||
|---|---|---|
| .. | ||
| nuttx_add_luamod.cmake | ||
| nuttx_add_rust.cmake | ||
| nuttx_add_wamrmod.cmake | ||
| nuttx_wasm_interface.cmake | ||