-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
A-reproducibilityArea: reproducible / deterministic buildsArea: reproducible / deterministic buildsS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.
Description
As a followup of rust-lang/rust#41555, I think $CARGO_HOME
and $PWD
(the location of the project) should be remapped to fixed values automatically.
I found both of those paths inside binaries and I have to add boilerplate to all of my reprotest scripts to normalize them.
The motivation behind this is that alice and bob can both download the same release of a rust project, cargo build --release
it and end up with a 100% identical binary, given a sufficiently similar build environment (rustc version and system libraries).
jasongrlicky, SimonAdameit, sanmai-NL, mfarrugi, sgeisler and 35 moreBoscopBoscop, tarcieri and wiktor-kBoscop
Metadata
Metadata
Assignees
Labels
A-reproducibilityArea: reproducible / deterministic buildsArea: reproducible / deterministic buildsS-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted.