xiaoxiang781216 commented on code in PR #3544:
URL: https://github.com/apache/nuttx-apps/pull/3544#discussion_r3429444800
##########
examples/rust/hello/src/lib.rs:
##########
@@ -50,7 +51,11 @@ pub extern "C" fn hello_rust_cargo_main() {
println!("Hello world from tokio!");
});
+ #[cfg(not(feature = "sim"))]
loop {
Review Comment:
why not remove the loop directly even on the real device? but anyway,
RUST_FEATURE_FLAGS is a really good addition.
--
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]