The GCC compiler back end can now bootstrap the Rust compiler

5 todsacerdoti 2 5/23/2025, 9:56:41 PM old.reddit.com ↗

Comments (2)

evanjrowley · 1h ago
I wondered how Rust being in the Linux kernel might impact the awesome bootstrapping work done by the the GuixSD project[0]. With this new capability in GCC, maybe the path forward is clearer.

[0] https://guix.gnu.org/en/blog/2023/the-full-source-bootstrap-...

whytevuhuni · 11m ago
Of note, bootstrapping was already possible [0] based on mrustc, and based on the source [1] it seems that's what is currently being used.

This would allow bootstrapping on other architectures though, and without the suuuper-long incremental chain of rustc versions. And also, without having LLVM as a dependency (although based on that screenshot they're still using LLVM's lld linker for some reason).

[0] https://guix.gnu.org/en/blog/2018/bootstrapping-rust/

[1] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages...