about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2019-10-03 00:31:21 -0400
committerAaron Hill <aa1ronham@gmail.com>2019-10-05 15:57:48 -0400
commitdd403e4ab0ae25a27c35a803eb229416625b8e55 (patch)
treea5dd0036a5ca1f4b0df66c9b369bb1ec2bfa20ff /src/rustllvm/RustWrapper.cpp
parent7870050796e5904a0fc85ecbe6fa6dde1cfe0c91 (diff)
downloadrust-dd403e4ab0ae25a27c35a803eb229416625b8e55.tar.gz
rust-dd403e4ab0ae25a27c35a803eb229416625b8e55.zip
Make re-export collection deterministic
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