-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Description
With the asm!
macro stabilized for Rust 1.59 (provided there are no reverts until or after the beta snapshot), using a stable Rust compiler should be possible. (So far, features were selected by the dozen because why not).
Testing procedure
Until there is a stable Rust that has all features, you can pick the ones you're willing to tolerate still using:
$ RUSTFLAGS="-Zallow-features=never_type" make all -C examples/riot-hello-world BOARD=particle-xenon
In my cortex-m3 tests on the relevant branches (see below), the never_type
feature is the only one that was not worked around yet (not because it doesn't work but because many lines need changing).
Useful links
Most of the current status is described at https://forum.riot-os.org/t/using-rust-with-riot-os/208/26 (thanks to geonnave and @mcr for pushing here).
Both riot-sys and riot-wrappers have stable-rust
branches that are currently a mix of clipping out things that could long have worked on stable, and doing actual changes to become runnable on stable.