2 ms·
Rust has an experimental C backend of its own as part of rustc_codegen_clr https://github.com/FractalFir/rustc_codegen_clr https://github.com/FractalFir/rustc_c
by zozbot234 1y ago
Rust has an experimental C backend of its own as part of rustc_codegen_clr https://github.com/FractalFir/rustc_codegen_clr https://github.com/FractalFir/rustc_codegen_clr . Would probably work better than trying to transpile C from general LLVM IR.
- hedgehog 1y agoSome people have demonstrated portability using the WASM target, translating that to C89 via w2c2, and then compiling _that_ for the final target.