A fun alternative way to play with Rust on bare-metal, is <a href="https://github.com/rust-console/gba" rel="nofollow">https://github.com/rust-console/gba</a>, which is a Rust crate for writing (unavoidably bare-metal) homebrew for the Gameboy Advance.<p>See the second half of <a href="https://rust-console.github.io/gba/bitmap-video.html" rel="nofollow">https://rust-console.github.io/gba/bitmap-video.html</a> for an example of what code using the gba crate looks like.<p>Tangent: IMHO, the GBA is a nearly-perfect platform to get started with bare-metal programming on. It's not painfully-constrained like the 8-bit micros of old, but it doesn't have any extra layers of abstraction like virtual memory, either. Plus, multimedia IO (drawing to the screen, playing sounds, reading buttons) are all just banging bits, similar to using POKEs in BASIC on an Apple II, which makes for immediate gratification, important for younger learners. <i>And</i> you can run GBA software through emulation on pretty much any device you own; with there being some <i>excellent</i> visual debuggers available as well for Windows/Linux.