nuttx-apps/cmake
Huang Qi b5d151f73f cmake/tools: Fix panic_immediate_abort deprecation in Rust build
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>
2026-03-10 18:23:22 -03:00
..
nuttx_add_luamod.cmake cmake: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
nuttx_add_rust.cmake cmake/tools: Fix panic_immediate_abort deprecation in Rust build 2026-03-10 18:23:22 -03:00
nuttx_add_wamrmod.cmake cmake: migrate to SPDX identifier 2024-12-19 15:25:28 +08:00
nuttx_wasm_interface.cmake cmake(enhance):Enhanced full WASM library and application compilation 2025-01-23 14:26:08 +08:00