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: Jan 10 2026 at 02:36 UTC