rust/tests/ui/panic-runtime/unwind-tables-target-required.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
341 B
Rust
Raw Normal View History

// Tests that the compiler errors if the user tries to turn off unwind tables
// when they are required.
//
2023-03-06 06:32:45 -06:00
// only-x86_64-pc-windows-msvc
// compile-flags: -C force-unwind-tables=no
//
2023-03-13 08:01:48 -05:00
// dont-check-compiler-stderr
2023-03-13 08:01:25 -05:00
// error-pattern: target requires unwind tables, they cannot be disabled with `-C force-unwind-tables=no`
pub fn main() {
}