Get the latest tech news
Using the Rust standard library with the NuttX RTOS
Rust Standard Library is now available on Apache NuttX RTOS, thanks to awesome work by Huang Qi! In this article we explain (1) How to build NuttX + Rust Standard Library (2) Handling JSON with the Serde Crate (3) Async Functions with the Tokio Crate (4) Blinking LEDs with the Nix Crate
Tokio … provides a runtime and functions that enable the use of Asynchronous I/O, allowing for Concurrency in regards to Task Completion Oh that’s nix Crate that provides Safer Rust Bindings for POSIX / Unix / Linux. The code above opens the LED Device, returning an Owned File Descriptor(explained below).
Or read this on Hacker News