Skip to content

Write deterministic archives #27227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 24, 2015
Merged

Write deterministic archives #27227

merged 1 commit into from
Jul 24, 2015

Conversation

eternaleye
Copy link
Contributor

Currently, rustc generates nondeterministic archives, which contain system timestamps. These don't really serve any useful purpose, and enabling deterministic archives moves us a little closer to completely deterministic builds. For a small toy library using std::ops::{Deref,DerefMut}, this change actually results in a bit-for-bit identical build every time.

Currently, `rustc` generates nondeterministic archives, which contain system timestamps. These don't really serve any useful purpose, and enabling deterministic archives moves us a little closer to completely deterministic builds. For a small toy library using `std::ops::{Deref,DerefMut}`, this change actually results in a bit-for-bit identical build every time.
@rust-highfive
Copy link
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @huonw (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@richo
Copy link
Contributor

richo commented Jul 23, 2015

<3

I've got a longrunning branch moving us toward deterministic builds, this is awesome!

@alexcrichton
Copy link
Member

@bors: r+ 4e67f9c

@tshepang
Copy link
Member

kool stuff

@bors
Copy link
Collaborator

bors commented Jul 24, 2015

⌛ Testing commit 4e67f9c with merge 607f74d...

bors added a commit that referenced this pull request Jul 24, 2015
Currently, `rustc` generates nondeterministic archives, which contain system timestamps. These don't really serve any useful purpose, and enabling deterministic archives moves us a little closer to completely deterministic builds. For a small toy library using `std::ops::{Deref,DerefMut}`, this change actually results in a bit-for-bit identical build every time.
@bors bors merged commit 4e67f9c into rust-lang:master Jul 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants