Skip to content

Commit

Permalink
Fix a test case on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Jan 26, 2018
1 parent c915e3a commit 9bb1823
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/run-pass/simd-target-feature-mixup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ fn is_sigill(status: ExitStatus) -> bool {
status.signal() == Some(4)
}

#[cfg(windows)]
fn is_sigill(status: ExitStatus) -> bool {
status.code() == Some(0xc000001d)
}

#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
#[allow(bad_style)]
mod test {
Expand Down

0 comments on commit 9bb1823

Please sign in to comment.