3 ms·
Shouldn't the codegen_gcc project[1] theoretically allow Rust to target backends that only GCC supports? [1] https://github.com/rust-lang/rustc_codegen_gcc htt
by curt15 1y ago
Shouldn't the codegen_gcc project[1] theoretically allow Rust to target backends that only GCC supports?
[1] https://github.com/rust-lang/rustc_codegen_gcc https://github.com/rust-lang/rustc_codegen_gcc
- fweimer 1y agoLLVM is desirable for other reasons (LLVMpipe for example), so investing into an LLVM port is probably a better use of limited resources than improving and maintaining a retargeted rustc for GCC.
- dathinab 1y agoyes and no yes, from a pure code generation aspect no, as all conditional-compiled platform specific code is missing. So using it with #[no_core] should work (assuming the WIP part of the backend isn't a problem). But beyond that you have to first port libcore (should be doable) and then libstd (quite a bunch of work).
- CodesInChaos 1y agohttps://lists.debian.org/debian-devel/2025/11/msg00010.html https://lists.debian.org/debian-devel/2025/11/msg00010.html
- cbmuser 1y agoYes, that is being worked on.
- pornel 11mo agoThe GCC backend makes Rust for Dreamcast work: https://www.dreamcast.rs/ https://www.dreamcast.rs/ (not relevant to Debian, but cool that it's already possible)