I'm able to build with rustc_codegen_cranelift but I don't know how to get the intermediate cranelift IR. It's not in the ".d" file...
Pass --emit llvm-ir
to rustc. For cg_clif that will emit the clif ir in a directory named crate_name.clif
next to the rlib/executable output.
thanks!
Last updated: Nov 22 2024 at 16:03 UTC