about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/tests.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-10-16 19:18:32 +0200
committerGitHub <noreply@github.com>2024-10-16 19:18:32 +0200
commit1014970462af7373f73a1b563c47f7b21ef49357 (patch)
tree6982c1501c7b67ed43ac75edae8c7a538360fac6 /compiler/rustc_interface/src/tests.rs
parentaac91f75e3b6cb0602ce5fdc80ccd1367699cc11 (diff)
parent8991fd4bed6583757c5df3f37b7c17fd58963f09 (diff)
downloadrust-1014970462af7373f73a1b563c47f7b21ef49357.tar.gz
rust-1014970462af7373f73a1b563c47f7b21ef49357.zip
Rollup merge of #131757 - c6c7:fixup-lint-non-snake-case-crate, r=jieyouxu
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 modifies the expected stderr for lint-non-snake-case-crate in the proc_macro_ to ignore lines that indicate a warning was emitted.
Diffstat (limited to 'compiler/rustc_interface/src/tests.rs')
0 files changed, 0 insertions, 0 deletions