rust/src/test
bors 657bc01888 Auto merge of #85702 - Aaron1011:no-vec-sort, r=michaelwoerister
Don't sort a `Vec` before computing its `DepTrackingHash`

Previously, we sorted the vec prior to hashing, making the hash
independent of the original (command-line argument) order. However, the
original vec was still always kept in the original order, so we were
relying on the rest of the compiler always working with it in an
'order-independent' way.

This assumption was not being upheld by the `native_libraries` query -
the order of the entires in its result depends on the order of entries
in `Options.libs`. This lead to an 'unstable fingerprint' ICE when the
`-l` arguments were re-ordered.

This PR removes the sorting logic entirely. Re-ordering command-line
arguments (without adding/removing/changing any arguments) seems like a
really niche use case, and correctly optimizing for it would require
additional work. By always hashing arguments in their original order, we
can entirely avoid a cause of 'unstable fingerprint' errors.
2021-05-31 20:03:18 +00:00
..
assembly Fix static relocation model for PowerPC64 2021-05-28 03:48:39 +02:00
auxiliary
codegen Auto merge of #84876 - alexcrichton:inline-thread-locals-cross-crate, r=Mark-Simulacrum 2021-05-19 15:59:46 +00:00
codegen-units Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
debuginfo Rollup merge of #84500 - tmandry:compiletest-run-flag, r=Mark-Simulacrum 2021-05-07 00:38:35 +02:00
incremental Don't sort a Vec before computing its DepTrackingHash 2021-05-25 22:11:39 -05:00
mir-opt Update mir opt tests 2021-05-30 12:51:36 +02:00
pretty Add test for pretty printing anonymous types 2021-05-24 00:05:46 -05:00
run-make Auto merge of #85362 - jsgf:fix-emit-metadata, r=estebank 2021-05-30 17:39:45 +00:00
run-make-fulldeps Auto merge of #85395 - 12101111:build-crt, r=petrochenkov 2021-05-31 07:32:50 +00:00
run-pass-valgrind
rustdoc Update trait toggle test 2021-05-26 14:36:58 +02:00
rustdoc-gui Add GUI test to check colors of alias in search results 2021-05-25 17:48:57 +02:00
rustdoc-js
rustdoc-js-std
rustdoc-json Rename span to source 2021-03-24 19:44:23 +00:00
rustdoc-ui Rename INVALID_RUST_CODEBLOCK{,S} 2021-05-17 21:31:04 -04:00
rustfix
ui Auto merge of #85704 - Aaron1011:const-panic-hard-err, r=RalfJung 2021-05-31 12:41:55 +00:00
ui-fulldeps Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
COMPILER_TESTS.md