Skip to content

Commit 0810c3e

Browse files
committed
support panic=abort in Miri
1 parent 95386b6 commit 0810c3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/panic_abort/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub unsafe extern "C" fn __rust_start_panic(_payload: usize) -> u32 {
4747
}
4848
__rust_abort();
4949
}
50-
} else if #[cfg(windows)] {
50+
} else if #[cfg(all(windows, not(miri)))] {
5151
// On Windows, use the processor-specific __fastfail mechanism. In Windows 8
5252
// and later, this will terminate the process immediately without running any
5353
// in-process exception handlers. In earlier versions of Windows, this

0 commit comments

Comments
 (0)