Auto merge of #27227 - eternaleye:patch-1, r=alexcrichton

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.
This commit is contained in:
bors 2015-07-24 07:37:03 +00:00
commit 607f74df2a

View file

@ -168,7 +168,7 @@ LLVMRustWriteArchive(char *Dst,
Members.push_back(NewArchiveIterator(Member->child, Member->name));
}
}
auto pair = writeArchive(Dst, Members, WriteSymbtab, Kind, false);
auto pair = writeArchive(Dst, Members, WriteSymbtab, Kind, true);
if (!pair.second)
return 0;
LLVMRustSetLastError(pair.second.message().c_str());