about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-10-06 08:40:43 +0000
committerbors <bors@rust-lang.org>2019-10-06 08:40:43 +0000
commit0358617e3f77e033c86139104c5c48a777824b08 (patch)
treec7176ed885090d2451c8deebc45e0390a64690ac /src/rustllvm/RustWrapper.cpp
parent5a8fb7c24d85d0bd911ca465c4a077c7cee608ae (diff)
parentadd0a42034b4e3d565ae5934e355bce9b88d15a1 (diff)
downloadrust-0358617e3f77e033c86139104c5c48a777824b08.tar.gz
rust-0358617e3f77e033c86139104c5c48a777824b08.zip
Auto merge of #65043 - Aaron1011:fix/reexport-determinism, r=petrochenkov
Make re-export collection deterministic

Fixes https://github.com/rust-lang/rust/issues/65036

Previously, we were using an `FxHashMap` to collect module re-exports.
However, re-exports end up getting serialized into crate metadata, which
means that metadata generation was non-deterministic. This resulted in
spurious error messages changes (e.g. PR #64906) due to pretty-printing
implicitly depending on the order of re-exports when computing the
proper path to show to the user.

See #65042 for a long-term strategy to detect this kind of issue
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions