Bootstrapping Rustc from Source
a year ago
- #Rust
- #Bootstrap
- #Security
- Minimal reliable setup for compiling Rust from source on Linux without pre-compiled binaries.
- Uses mrustc (a C++ Rust compiler) in a Debian chroot for consistency and firejail for network security.
- Aims to verify official Rust releases by comparing hashes with independent bootstrap chains.
- Future goal: Establish independent bootstrap chains at reputable organizations for verification.
- Steps include installing dependencies, downloading sources, initializing chroot, and building inside chroot.
- Complete bootstrap requires significant disk space (140 GB for rustc 1.83).
- Licensed under Creative Commons Attribution-ShareAlike 4.0 International License.