We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6620e2b commit 098235cCopy full SHA for 098235c
tests/ui/runtime/out-of-stack.rs
@@ -110,7 +110,11 @@ fn main() {
110
assert!(error.contains("has overflowed its stack"),
111
"missing overflow message: {}", error);
112
113
- check_status(silent.status);
+ // Stack overflows in TLS destructors do not result in the error
114
+ // code being changed on Windows.
115
+ if !(cfg!(target_os = "windows") && mode.contains("tls")) {
116
+ check_status(silent.status);
117
+ }
118
}
119
120
0 commit comments