about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-06-05 18:55:52 +0000
committerbors <bors@rust-lang.org>2020-06-05 18:55:52 +0000
commit826cb062a659f7b719a8a0ab1497a78229318aab (patch)
treeaac9bbef3dba74274b72e16cc62c8a27c01eb8ba /src/libstd/sys/unix/stack_overflow.rs
parente4124750c33631042d5f078b78ce16286b8027c0 (diff)
parent41bfd18e0266b990708879c2bc22edb2626b1532 (diff)
downloadrust-826cb062a659f7b719a8a0ab1497a78229318aab.tar.gz
rust-826cb062a659f7b719a8a0ab1497a78229318aab.zip
Auto merge of #72982 - tblah:riscv-ui-tests, r=estebank
resolve: Sort E0408 errors by Symbol str

This is a request for comments implementing my suggested solution to https://github.com/rust-lang/rust/issues/72913

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.

While I was at it, there's also 8edb05c2  skipping some ui tests which I think are irrelevant for risc-v.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions