]> git.lizzy.rs Git - rust.git/commit
Auto merge of #38357 - arielb1:deterministic-hash, r=michaelwoerister
authorbors <bors@rust-lang.org>
Fri, 16 Dec 2016 03:56:47 +0000 (03:56 +0000)
committerbors <bors@rust-lang.org>
Fri, 16 Dec 2016 03:56:47 +0000 (03:56 +0000)
commitc6d8ab09e39bacae2c008995bbb669442115517f
treeff6224ebd2972cf016659a10815b487dd142d4bf
parent8ae904062b2700a797138d2b8274f2e141ea1e53
parente1d4b8fc8c3e991627715916f7285611ec49424e
Auto merge of #38357 - arielb1:deterministic-hash, r=michaelwoerister

make deterministic_hash host-architecture-independent

`DefPath::deterministic_hash` used to call `std::hash::Hash`, which depends on the current architecture in several ways, which would prevent metadata written on one host architecture from being successfully read on another one.

Use a hasher we control instead.

Fixes #38177.

r? @michaelwoerister