I'd like to see the LLVM that the Rust compiler generates. Even better would be to have it just dump out LLVM and stop. This could be in bitcode format or assembler text.
You can pass the formats which you want to --emit
e.g.
rustc --emit=asm,llvm-bc,llvm-ir xxx.rs
or
cargo rustc -- --emit=asm,llvm-bc,llvm-ir
more information please see rustc --help
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With