3 ms·
That doesn't require a whole new frontend, just a GCC backend will be enough. This is in fact already being worked on with rustc_codegen_gcc https://github.com/
by SkiFire13 2y ago
That doesn't require a whole new frontend, just a GCC backend will be enough. This is in fact already being worked on with rustc_codegen_gcc https://github.com/rust-lang/rustc_codegen_gcc https://github.com/rust-lang/rustc_codegen_gcc
- MBCook 2y agoBut that still requires the rust compiler doesn’t it? So that’s still two compilers.
- SkiFire13 2y agoThat works with rustc, so you only need one rust compiler frontend as opposed to two.
- MBCook 2y agoThere wouldn’t be two rust compilers. But you still need GCC + rustc to compile the full kernel. And that’s what was suggesting was an issue. I suspect people want to be able to use only GCC.
- SkiFire13 2y agoThe difference would be using GCC frontend + GCC backend vs rustc frontend + GCC backend. You don't really use "more" compilers with rustc_codegen_gcc, except in name only. However I do realize that people often care about these little details.