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 <toku@mac.com>
This commit is contained in:
Shoji Tokunaga 2026-05-22 09:04:14 +09:00 committed by Lup Yuen Lee
parent 5cce60aa9a
commit c9c5c75d08

View file

@ -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