Fix a test case on Windows

This commit is contained in:
Alex Crichton 2018-01-26 07:37:57 -08:00
parent c915e3a10a
commit 9bb18239de

View File

@ -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 {