about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/alloc_system.rs
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2021-09-30 14:25:46 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2021-09-30 14:27:57 -0400
commit56fcf0725a164f16b9d7f1ff8fe2f3d6b4aab3db (patch)
tree07b1467b47b65f43293568143359e8a6e5ab9fe5 /compiler/rustc_codegen_gcc/example/alloc_system.rs
parent69c1c6a173dcae20c245348f6c7d19074b6109b7 (diff)
downloadrust-56fcf0725a164f16b9d7f1ff8fe2f3d6b4aab3db.tar.gz
rust-56fcf0725a164f16b9d7f1ff8fe2f3d6b4aab3db.zip
Avoid nondeterminism in trimmed_def_paths
Previously this query depended on the global interning order of Symbols, which
meant that irrelevant changes could influence the query and cause
recompilations. This commit ensures that the return set is stable and will not
be affected by the global order by deterministically (in lexicographic order)
choosing a name to use if there are multiple names for a single DefId.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_system.rs')
0 files changed, 0 insertions, 0 deletions