Auto merge of #108809 - lqd:fix-ignore, r=pietroalbini

fix ignore header in MSVC test

From `@pietroalbini's` [zulip message](https://rust-lang.zulipchat.com/#narrow/stream/326414-t-infra.2Fbootstrap/topic/better.20compiletest.20ignore.20messages/near/339845864)

> there are tests like `tests/ui/panic-runtime/unwind-tables-target-required.rs` which have `only-x86_64-windows-msvc` which I'm pretty sure is invalid

This test is currently ignored on x64 MSVC CI because of this incorrect target. We'll see if it still passes.

r? `@pietroalbini`
This commit is contained in:
bors 2023-03-16 07:35:20 +00:00
commit cd6c574af3

View File

@ -1,10 +1,11 @@
// Tests that the compiler errors if the user tries to turn off unwind tables
// when they are required.
//
// only-x86_64-windows-msvc
// only-x86_64-pc-windows-msvc
// compile-flags: -C force-unwind-tables=no
//
// error-pattern: target requires unwind tables, they cannot be disabled with `-C force-unwind-tables=no`.
// dont-check-compiler-stderr
// error-pattern: target requires unwind tables, they cannot be disabled with `-C force-unwind-tables=no`
pub fn main() {
}