by kelnos · 2y ago · 0 comments
Ultimately the final rustc you get will be more or less identical to the one built and distributed through rustup.
What could cause differences between the bootstrapped rustc and rustup’s?
In practice, you’ll have to make sure the build configuration, the toolchain components not part of rustc itself (e.g. linker), and the target sysroot (e.g. glibc .so file) are close or identical to what the official builds are using. Also, while rustc is supposed to be reproducible, and thus free of the other usual issues with reproducible builds (like paths or timestamps being embedded into the build), there might be bugs. And I’m not sure if reproducibility requires any special options which the official builders might not be passing. Hopefully not.