about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorCharles Celerier <chcl@google.com>2024-10-15 15:47:10 -0400
committerCharles Celerier <chcl@google.com>2024-10-16 10:55:49 -0400
commit8991fd4bed6583757c5df3f37b7c17fd58963f09 (patch)
tree288f5dfd72bfa877f0cacbfb8f0d6f7a6932ba7e /compiler/rustc_codegen_llvm/src
parentf79fae3069c449993eda6b16934da3b144cb8a66 (diff)
downloadrust-8991fd4bed6583757c5df3f37b7c17fd58963f09.tar.gz
rust-8991fd4bed6583757c5df3f37b7c17fd58963f09.zip
Ignore lint-non-snake-case-crate#proc_macro_ on targets without unwind
The lint-non-snake-case-crate test may emit a warning in stderr if the
target does not support unwinding

```
warning: building proc macro crate with `panic=abort` may crash the compiler should the proc-macro panic
```

Consequently, the test will fail on targets that don't support unwinding
as written.

This change prevents lint-non-snake-case-crate#proc_macro_ from running
on targets that don't support unwind by using the needs-unwind
directive.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions