summary refs log tree commit diff
path: root/src/librustc_data_structures/stable_hasher.rs
AgeCommit message (Collapse)AuthorLines
2017-04-12ICH: Replace old, transitive metadata hashing with direct hashing approach.Michael Woerister-1/+6
Instead of collecting all potential inputs to some metadata entry and hashing those, we directly hash the values we are storing in metadata. This is more accurate and doesn't suffer from quadratic blow-up when many entries have the same dependencies.
2017-04-06Introduce HashStable trait and base ICH implementations on it.Michael Woerister-1/+191
This initial commit provides implementations for HIR, MIR, and everything that also needs to be supported for those two.
2017-02-03Bump version, upgrade bootstrapAlex Crichton-1/+0
This commit updates the version number to 1.17.0 as we're not on that version of the nightly compiler, and at the same time this updates src/stage0.txt to bootstrap from freshly minted beta compiler and beta Cargo.
2016-12-30Fix rebase fallout and compilation fixesest31-2/+3
2016-12-15Use StableHasher everywhereAriel Ben-Yehuda-0/+176
The standard implementations of Hasher have architecture-dependent results when hashing integers. This causes problems when the hashes are stored within metadata - metadata written by one host architecture can't be read by another. To fix that, implement an architecture-independent StableHasher and use it in all places an architecture-independent hasher is needed. Fixes #38177.