lupyuen commented on PR #2437: URL: https://github.com/apache/nuttx-apps/pull/2437#issuecomment-2213342910
Hmmm the NuttX Build doesn't seem happy with Rust Files. Lemme find out why... https://github.com/apache/nuttx-apps/actions/runs/9835985035/job/27150755232?pr=2437 ```text Run echo "::add-matcher::nuttx/.github/nxstyle.json" Defaulting to user installation because normal site-packages is not writeable b167569c0 Merge 17de01ddbb37445b2d4b3f0394bc2a91b7a57b88 into 6b9d51793f7373e3c48d4590a368ab8b8f42e61e 17de01ddb examples/hello_rust: Add feature to blink the LED ../nuttx/tools/checkpatch.sh -m -g 6b9d51793f7373e3c48d4590a368ab8b8f42e61e..HEAD Diff in /home/runner/work/nuttx-apps/nuttx-apps/apps/examples/hello_rust/hello_rust_main.rs at line 22: * Attributes ****************************************************************************/ - #![no_main] - #![no_std] +#![no_main] +#![no_std] /**************************************************************************** * Uses Diff in /home/runner/work/nuttx-apps/nuttx-apps/apps/examples/hello_rust/hello_rust_main.rs at line 73: #[no_mangle] pub extern "C" fn hello_rust_main(_argc: i32, _argv: *const *const u8) -> i32 { - unsafe { - /* "Hello, Rust!!" using printf() from libc */ printf(b"Hello, Rust!!\n\0" as *const u8); Diff in /home/runner/work/nuttx-apps/nuttx-apps/apps/examples/hello_rust/hello_rust_main.rs at line [11](https://github.com/apache/nuttx-apps/actions/runs/9835985035/job/27150755232?pr=2437#step:4:12)5: 0 } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
