From c9c5c75d08828aca7fb695a2a0a65a57063641f1 Mon Sep 17 00:00:00 2001 From: Shoji Tokunaga Date: Fri, 22 May 2026 09:04:14 +0900 Subject: [PATCH] examples/rust: Fix hello_rust_cargo CMake settings Use the hello_rust_cargo-specific Kconfig symbols for the built-in application stack size and priority. Previously, CMake referenced the generic hello example symbols, so the configured hello_rust_cargo stack size could be ignored. Signed-off-by: Shoji Tokunaga --- examples/rust/hello/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/rust/hello/CMakeLists.txt b/examples/rust/hello/CMakeLists.txt index c0daea419..2a83be84e 100644 --- a/examples/rust/hello/CMakeLists.txt +++ b/examples/rust/hello/CMakeLists.txt @@ -25,7 +25,7 @@ if(CONFIG_EXAMPLES_HELLO_RUST_CARGO) nuttx_add_application( NAME ${CONFIG_EXAMPLES_HELLO_RUST_CARGO_PROGNAME} STACKSIZE - ${CONFIG_EXAMPLES_HELLO_STACKSIZE} PRIORITY - ${CONFIG_EXAMPLES_HELLO_PRIORITY}) + ${CONFIG_EXAMPLES_HELLO_RUST_CARGO_STACKSIZE} PRIORITY + ${CONFIG_EXAMPLES_HELLO_RUST_CARGO_PRIORITY}) endif() # CONFIG_EXAMPLES_HELLO_RUST_CARGO