This repository contains a script for building rustc reproducibly.
All the patches it required have now been merged.
To get reproducible builds locally, either run repro.sh
or
- Apply the patches to two identical rustcs (tested with version 1.45.0).
- Build the two rustcs.
- Diff their stage 2s.