about summary refs log tree commit diff
path: root/compiler/rustc_ty_utils/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-10-30 10:28:56 +0000
committerbors <bors@rust-lang.org>2024-10-30 10:28:56 +0000
commit298c7462c3bf66d0afd39284cb65ec78a787a594 (patch)
treeec5b88eec29e50ef2c1526f374fed16ebf1f4fa7 /compiler/rustc_ty_utils/src
parent8b9f0f9c1cf26c8685d3f62341de4b2132b372af (diff)
parentd942113fdb05a2577aec048090e904b5b486f1dc (diff)
downloadrust-298c7462c3bf66d0afd39284cb65ec78a787a594.tar.gz
rust-298c7462c3bf66d0afd39284cb65ec78a787a594.zip
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
Diffstat (limited to 'compiler/rustc_ty_utils/src')
0 files changed, 0 insertions, 0 deletions