rust/src/test
bors 44adfccffe Auto merge of #101504 - lqd:rust-lld-fix, r=petrochenkov
Fix `-Zgcc-ld=lld`

`-Zgcc-ld=lld` is currently broken. CI is currently ignoring its tests.

cc `@Mark-Simulacrum` on the `compiletest` change: I'm not sure which of `bootstrap`'s test step or `compiletest` is currently incorrect wrt windows' `--compile-lib-path`. Since `sysroot/bin` is passed on windows, that means that `compiletest` can't find `rust-lld` on windows and tests are currently ignored: it's looking for something that is in `sysroot/lib` instead.

They are currently ignored on unixes for a different reason: the lld wrapper has a different name than what is checked.

(I've changed `compiletest` in this PR, just because I could make a very targeted change there, whereas completely changing the intentional lib path that is passed seemed it'd have wider reaching implications on all tests.)

And in both unix/win cases, I've changed the detection to look for `rust-lld` rather than the wrappers in `bin/gcc-ld/`. It seems like the more stable of all these executable names.

r? `@petrochenkov`

I've tested the `lld-wrapper` change on linux and osx, but couldn't test on windows gnu targets (I only have MSVC targets, and these can't use `rust-lld` via `-Zgcc-ld=lld`, nor do they use the lld wrapper IIUC).

I'd expect it to work whether or not the wrapper is called with or without an executable suffix. But at least now CI should test it in these targets.

Fixes #101370.
2022-09-08 05:02:32 +00:00
..
assembly Rollup merge of #100556 - Alex-Velez:patch-1, r=scottmcm 2022-08-21 16:54:01 +02:00
auxiliary
codegen Add test for #98294 2022-09-05 15:24:18 +02:00
codegen-units Warn about dead tuple struct fields 2022-08-03 12:17:23 +02:00
debuginfo Change name of "dataful" variant to "untagged" 2022-09-07 20:12:45 +00:00
incremental Add test. 2022-09-05 20:11:34 +02:00
mir-opt Rollup merge of #101435 - JakobDegen:bitwidth-tests, r=wesleywiser 2022-09-07 21:48:13 +02:00
pretty Add pp-exact test involving where T: 2022-06-16 17:03:47 -07:00
run-make Auto merge of #101504 - lqd:rust-lld-fix, r=petrochenkov 2022-09-08 05:02:32 +00:00
run-make-fulldeps Fix a bunch of typo 2022-08-31 18:24:55 +08:00
run-pass-valgrind Remove even more box syntax uses from src/test 2022-08-07 04:22:20 +02:00
rustdoc Rollup merge of #101279 - GuillaumeGomez:doc_auto_cfg_nested_impl, r=notriddle 2022-09-01 21:37:20 +02:00
rustdoc-gui Remove duplicated test (superseeded by search-form-elements.goml) 2022-09-04 15:16:55 +02:00
rustdoc-js rustdoc: also index raw pointers 2022-05-31 11:21:55 -07:00
rustdoc-js-std
rustdoc-json Rustdoc-Json: More accurate struct type. 2022-09-07 09:42:23 +01:00
rustdoc-ui Fix a bunch of typo 2022-08-31 18:24:55 +08:00
ui Auto merge of #94075 - mikebenfield:wip-enum, r=oli-obk 2022-09-07 23:40:06 +00:00
ui-fulldeps FIX - broken translatable diagnostics tests 2022-09-05 12:59:56 -04:00
COMPILER_TESTS.md