Boucher: rustc_codegen_gcc can now bootstrap rustc

Post Syndicated from original https://lwn.net/Articles/889989/

On his blog, Antoni Boucher updates the status of rustc_codegen_gcc, which “is a GCC codegen for rustc, meaning that it can be loaded by the existing rustc frontend, but benefits from GCC by having more architectures supported and having access to GCC’s optimizations“. A significant milestone has been reached: “the GCC codegen has made enough progress to be able to compile rustc itself“. For the Rust programming language, rustc is the standard compiler, so this work will eventually allow programs to be built for a number of architectures that are not supported by rustc. He also made progress beyond just building the compiler as he “was able to compile rustc using the GCC codegen and use the resulting rustc to compile a Hello World“.