Fix a test case on Windows
This commit is contained in:
parent
c915e3a10a
commit
9bb18239de
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user