diff options
| author | Tom Eccles <tom.eccles@codethink.co.uk> | 2020-06-02 12:07:43 +0100 |
|---|---|---|
| committer | Tom Eccles <tom.eccles@codethink.co.uk> | 2020-06-04 16:00:31 +0100 |
| commit | 41bfd18e0266b990708879c2bc22edb2626b1532 (patch) | |
| tree | e0319350b4e6ed9813dbc504aff886f937082417 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 8edb05c2a0dbb6bee7c71c664e216c0d863411a6 (diff) | |
| download | rust-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
