This is an automated email from the ASF dual-hosted git repository.

lupyuen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new c9c5c75d0 examples/rust: Fix hello_rust_cargo CMake settings
c9c5c75d0 is described below

commit c9c5c75d08828aca7fb695a2a0a65a57063641f1
Author: Shoji Tokunaga <[email protected]>
AuthorDate: Fri May 22 09:04:14 2026 +0900

    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 <[email protected]>
---
 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

Reply via email to