2 ms·
The GCC compiler back end can now bootstrap the Rust compiler
- deleted 1y ago[deleted]
- evanjrowley 1y agoI 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-building-from-source-all-the-way-down/ https://guix.gnu.org/en/blog/2023/the-full-source-bootstrap-...
- whytevuhuni 1y agoOf 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/ https://guix.gnu.org/en/blog/2018/bootstrapping-rust/ [1] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/rust.scm#n1050 https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages...