r/learnrust • • 2d ago

RV Bare-metal?

I'm a beginner in OS dev and have been tinkering with creating a RISC-V operating system in Rust. There are a lot of great resources out there, but most of the posts I found are slightly outdated, so I wanted to write a bit about my own journey. My goal is to use Rust's features as much as possible!

First, we'll go over creating a bare-metal binary and finish with a small executable that immediately shuts down the machine when it runs in QEMU. Hope you find this interesting, as I did!

https://ltungv.com/note/rv-bare-metal/

6 Upvotes

1 comment sorted by

1

u/Real-Abrocoma-2823 2d ago

You could probably experiment with async thanks to embassy.