@notgull maximally dumb idea: could we write a cranelift backend that produces C code instead of machine code, and then compile that on the target machine?
Top-level
3 comments
@oli @notgull it's not the main goal of the project, but https://github.com/FractalFir/rustc_codegen_clr/ has some support for C codegen. It's where I'd start if we wanted to put some extra effort on this. |
@oli @notgull From a bootstrapping perspective, how is that different from just cross compiling though?