rust/tests
bors 298c7462c3 Auto merge of #130860 - tmandry:fix-directives, r=jieyouxu
Fix directives for lint-non-snake-case-crate

This test fails on targets without unwinding or with `--target-rustcflags=-Cpanic=abort` because the proc macro was compiled as the target, not the host. Some targets were explicitly disabled to pass CI, but these directives are more general.

* `needs-dynamic-linking` is self explanatory
* `force-host` for proc macros
* `no-prefer-dynamic` is apparently also used for proc macros

Note that `needs-unwind` can also be useful for situations other than proc macros where unwinding is necessary.

r? `@jieyouxu`

try-job: test-various
2024-10-30 10:28:56 +00:00
..
assembly riscv-soft-abi-with-float-features.rs: adapt for LLVM 20 2024-10-28 13:43:03 +00:00
auxiliary
codegen
codegen-units
coverage
coverage-run-rustdoc
crashes Delete tests/crashes/23707.rs because it's flaky 2024-10-29 14:22:06 +08:00
debuginfo
incremental
mir-opt
pretty
run-make
rustdoc
rustdoc-gui Add GUI regression test for variant structfields margins 2024-10-28 11:16:38 +01:00
rustdoc-js
rustdoc-js-std
rustdoc-json
rustdoc-ui
ui Auto merge of #130860 - tmandry:fix-directives, r=jieyouxu 2024-10-30 10:28:56 +00:00
ui-fulldeps
COMPILER_TESTS.md