]> git.lizzy.rs Git - rust.git/blob - src/test/compile-fail/unwind-tables-target-required.rs
Auto merge of #75775 - matklad:rustc-lexer-rustdoc-highlight, r=GuillaumeGomez
[rust.git] / src / test / compile-fail / 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 // ignore-tidy-linelength
7 //
8 // error-pattern: target requires unwind tables, they cannot be disabled with `-C force-unwind-tables=no`.
9
10 pub fn main() {
11 }