nuttx-apps/tools
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
..
Wasm cmake(bugfix):fix NuttX CMake Wasm build multi dirs cannot be identified 2025-01-23 14:26:08 +08:00
bitmap_converter.py Remove unneeded semicolons and parentheses from Python files 2020-12-12 19:20:38 +01:00
check-hash.sh tools: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
CMakeLists.txt cmake(bugfix):fix NuttX CMake Wasm build multi dirs cannot be identified 2025-01-23 14:26:08 +08:00
Kconfig Fix Kconfig style 2024-04-09 08:16:40 +02:00
mkimport.sh tools: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
mkkconfig.bat tools: update licenses to Apache 2021-06-10 08:49:24 -05:00
mkkconfig.sh tools: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
mkromfsimg.sh tools: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
mksymtab.sh elf:avoid interference between different ELFs generated by symtab 2026-01-16 21:07:56 +08:00
pre-commit tools: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Rust.mk cmake/tools: Fix panic_immediate_abort deprecation in Rust build 2026-03-10 18:23:22 -03:00
WASI-SDK.defs tools: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00
Wasm.mk tools: migrate to SPDX identifier 2024-12-30 18:02:50 +08:00