about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorTom Eccles <tom.eccles@codethink.co.uk>2020-06-02 12:07:43 +0100
committerTom Eccles <tom.eccles@codethink.co.uk>2020-06-04 16:00:31 +0100
commit41bfd18e0266b990708879c2bc22edb2626b1532 (patch)
treee0319350b4e6ed9813dbc504aff886f937082417 /src/libstd/sys/unix/stack_overflow.rs
parent8edb05c2a0dbb6bee7c71c664e216c0d863411a6 (diff)
downloadrust-41bfd18e0266b990708879c2bc22edb2626b1532.tar.gz
rust-41bfd18e0266b990708879c2bc22edb2626b1532.zip
resolve: Sort E0408 errors by Symbol str
Previously errors were sorted by Symbol index instead of the string. The
indexes are not the same between architectures because Symbols for
architecture extensions (e.g. x86 AVX or RISC-V d) are interned before
the source file is parsed. RISC-V's naming of extensions after single
letters led to it having errors sorted differently for test cases using
single letter variable names. Instead sort the errors by the Symbol
string so that it is stable across architectures.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions