]> git.lizzy.rs Git - rust.git/blob - tests/ui/panic-runtime/unwind-tables-target-required.rs
Rollup merge of #106397 - compiler-errors:new-solver-impl-wc, r=lcnr
[rust.git] / tests / ui / panic-runtime / unwind-tables-target-required.rs
1 // Tests that the compiler errors if the user tries to turn off unwind tables
2 // when they are required.
3 //
4 // only-x86_64-windows-msvc
5 // compile-flags: -C force-unwind-tables=no
6 //
7 // error-pattern: target requires unwind tables, they cannot be disabled with `-C force-unwind-tables=no`.
8
9 pub fn main() {
10 }