about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2016-08-01 19:55:20 -0400
committerNiko Matsakis <niko@alum.mit.edu>2016-08-02 05:31:25 -0400
commit2e7df800986cb7eee66cfbb4bd98104c45189d57 (patch)
treeea255a832780ecf754e6caa1865884a1b182d82f /src/rustllvm/RustWrapper.cpp
parent2797b2a5ca9c3cc38ff904c409e37ea19c42aa10 (diff)
downloadrust-2e7df800986cb7eee66cfbb4bd98104c45189d57.tar.gz
rust-2e7df800986cb7eee66cfbb4bd98104c45189d57.zip
make metadata hashes determinstic
When we hash the inputs to a MetaData node, we have to hash them in a
consistent order. We achieve this by sorting the stringfied `DefPath`
entries. Also, micro-optimie by cache more results across the saving
process.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions