You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For assembly you can use binary trick, which is widely used in the rust-embedded org. For already "implemented" instructions like wfi you can use riscv::asm::wfi(). With the latest Rust release it's even possible to inline such "pre-compiled" instructions with ThinLTO.
I appreciate the help! I'm trying to make this more of a language learning experience, but eventually I will switch over to Rust's libraries and make heavy use of core and alloc. For now, I would like the "raw" experience. But, I would invite your help for the second half where we start cleaning up the code and force as much as possible into Rust.
No problem, just wanted to make sure you do not miss something :) Maybe I will try to follow along with this project. Your setup is pretty interesting and easy to experiment with.
I believe it's possible to use stable rust together with
riscv
andriscv-rt
crates. With the latest Rust release everything should work just fine.The text was updated successfully, but these errors were encountered: