Skip to content

Commit

Permalink
Auto merge of #108809 - lqd:fix-ignore, r=pietroalbini
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
bors committed Mar 16, 2023
2 parents 18e305d + 956bebb commit cd6c574
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/ui/panic-runtime/unwind-tables-target-required.rs
Original file line number Diff line number Diff line change
@@ -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() {
}

0 comments on commit cd6c574

Please sign in to comment.