rust/tests
Matthias Krüger 13976f1f25
Rollup merge of #130308 - davidtwco:tied-target-consolidation, r=wesleywiser
codegen_ssa: consolidate tied target checks

Fixes #105110.
Fixes #105111.

`rustc_codegen_llvm` and `rustc_codegen_gcc` duplicated logic for checking if tied target features were partially enabled. This PR consolidates these checks into `rustc_codegen_ssa` in the `codegen_fn_attrs` query, which also is run pre-monomorphisation for each function, which ensures that this check is run for unused functions, as would be expected.

Also adds a test confirming that enabling one tied feature doesn't imply another - the appropriate error for this was already being emitted. I did a bisect and narrowed it down to two patches it was likely to be - something in #128796, probably #128221 or #128679.
2024-10-10 22:00:45 +02:00
..
assembly more asm! -> naked_asm! in tests 2024-10-06 18:12:25 +02:00
auxiliary
codegen Auto merge of #131387 - Zalathar:rollup-kprp512, r=Zalathar 2024-10-08 04:38:04 +00:00
codegen-units Fix and enable disabled codegen-units tests 2024-08-10 14:03:27 -04:00
coverage Simplify the directives for ignoring coverage-test modes 2024-10-08 22:51:53 +11:00
coverage-run-rustdoc
crashes Rollup merge of #131491 - lcnr:nalgebra-perrrrf, r=compiler-errors 2024-10-10 12:49:22 +02:00
debuginfo Reorder stack spills so that constants come later. 2024-09-17 16:45:26 -07:00
incremental Bless incremental tests. 2024-10-04 23:50:01 +00:00
mir-opt Disable slice_iter mir-opt test in debug builds 2024-10-07 12:23:27 -04:00
pretty Use doc(hidden) instead of allow(missing_docs) in the test harness 2024-09-11 12:14:35 +02:00
run-make Rollup merge of #131435 - jieyouxu:macos-pipe, r=Zalathar 2024-10-09 20:27:25 +02:00
rustdoc Auto merge of #131076 - lukas-code:doc-stab2, r=notriddle 2024-10-01 04:30:33 +00:00
rustdoc-gui Strengthen some GUI tests 2024-10-09 21:23:20 +02:00
rustdoc-js rustdoc-search: allow trailing Foo -> arg search 2024-09-05 17:58:05 -07:00
rustdoc-js-std Fix rustdoc-js-std path-ordering test due to API removal 2024-10-02 11:15:48 +02:00
rustdoc-json Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
rustdoc-ui Rollup merge of #131260 - notriddle:notriddle/disambiguator-error, r=GuillaumeGomez 2024-10-04 19:19:25 -07:00
ui Rollup merge of #130308 - davidtwco:tied-target-consolidation, r=wesleywiser 2024-10-10 22:00:45 +02:00
ui-fulldeps Remove feature(control_flow_enum) in tests 2024-09-25 19:00:19 -07:00
COMPILER_TESTS.md