mirror of
https://github.com/rust-lang/rust
synced 2024-10-14 12:33:57 +00:00
support panic=abort in Miri
This commit is contained in:
parent
95386b656e
commit
0810c3ef19
|
@ -47,7 +47,7 @@ unsafe fn abort() -> ! {
|
|||
}
|
||||
__rust_abort();
|
||||
}
|
||||
} else if #[cfg(windows)] {
|
||||
} else if #[cfg(all(windows, not(miri)))] {
|
||||
// On Windows, use the processor-specific __fastfail mechanism. In Windows 8
|
||||
// and later, this will terminate the process immediately without running any
|
||||
// in-process exception handlers. In earlier versions of Windows, this
|
||||
|
|
Loading…
Reference in a new issue