126 points · by lukastyrychtr · 2y ago · 23 comments
> First, we use a C++ compiler to build gccrs, disabling the borrow-checking pass of the compiler. It is important to ensure borrow-checking cannot be disabled at runtime using a command line flag, as this could have a negative impact on the Rust ecosystem – however, building gccrs without borrow-checking to use it as an intermediate compiler in our bootstrapping process is okay.
It's not like Polonius or the trait solver were designed with bootstrapping gccrs in mind.
I'm pretty sure they weren't. The Rust bootstrap chain is ridiculously long.