no1wudi commented on PR #2487:
URL: https://github.com/apache/nuttx-apps/pull/2487#issuecomment-2579022602

   @lvanasse Thank you for offering your help. Regarding your questions, here's 
the current situation:
   
   > Do we use a specific crate to interact with NuttX? For instance, how 
should we handle NuttX interfaces? I’m asking because I know there’s a crate 
called rustix for POSIX-like systems, but I’m not sure how it applies here.
   
   For most standard system (POSIX) interfaces, the functionality provided by 
the Rust standard library is sufficient, and the porting work for this part has 
already been completed on the Rust side. If you need to use NuttX-specific 
system interfaces, such as SPI/I2C/LCD drivers, you will need to create 
additional crates for those, as they fall outside the scope of the Rust 
standard library.
   
   > How far along are you with TODOs # 2 and # 3? Also, could you clarify 
which parts currently prevent using the NuttX POSIX API?
   
   TODO #2 and #3 are now completed. As you can see, the current demo program 
can utilize the standard library, and even third-party native Rust libraries 
like serde_json and tokio, which heavily rely on the standard library, are now 
supported.
   
   I will provide a document as soon as possible to describe how to use the 
Rust standard library on NuttX. If possible, please help test it out and assist 
me in refining the related documentation.
   


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to