2 ms·
From the Github page: https://github.com/kmcallister/tiny-rust-demo https://github.com/kmcallister/tiny-rust-demo All of the machine code comes out of rustc. (
by userbinator 12y ago
From the Github page: https://github.com/kmcallister/tiny-rust-demo https://github.com/kmcallister/tiny-rust-demo
All of the machine code comes out of rustc. (Although all of the instructions that survive optimization went in as inline assembly.)
So while his main() is written in (unsafe) Rust, he's basically using it as a macroassembler.