提交 9bb18239 编写于 作者: A Alex Crichton

Fix a test case on Windows

上级 c915e3a1
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册