You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just the other day I learned that Apple's ar tool has an undocumented environment variable that you can use to get it to zero out timestamps so you get reproducible archives! Setting ZERO_AR_DATE=1 apparently triggers this behavior.
This was actually already added in 555e773, although did I forget a different place we need to put that?
FWIW I didn't know this env var affected the linker, but if so then we should probably update rust-lang/rust to set this env var for the linker unconditionally.
Oh nice! I did search the repo for issues but didn't search the code so I didn't see that. Oops!
FWIW I didn't know this env var affected the linker, but if so then we should probably update rust-lang/rust to set this env var for the linker unconditionally.
Just the other day I learned that Apple's
ar
tool has an undocumented environment variable that you can use to get it to zero out timestamps so you get reproducible archives! SettingZERO_AR_DATE=1
apparently triggers this behavior.Here's the source for reference:
https://opensource.apple.com/source/cctools/cctools-949.0.1/misc/libtool.c.auto.html
It's also mentioned in this LLVM blog post:
http://blog.llvm.org/2019/11/deterministic-builds-with-clang-and-lld.html
This would help fix mozilla/sccache#169 .
The text was updated successfully, but these errors were encountered: