Skip to content

Commit 9bb1823

Browse files
committed
Fix a test case on Windows
1 parent c915e3a commit 9bb1823

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/run-pass/simd-target-feature-mixup.rs

+5
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ fn is_sigill(status: ExitStatus) -> bool {
4343
status.signal() == Some(4)
4444
}
4545

46+
#[cfg(windows)]
47+
fn is_sigill(status: ExitStatus) -> bool {
48+
status.code() == Some(0xc000001d)
49+
}
50+
4651
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
4752
#[allow(bad_style)]
4853
mod test {

0 commit comments

Comments
 (0)