We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95386b6 commit 0810c3eCopy full SHA for 0810c3e
library/panic_abort/src/lib.rs
@@ -47,7 +47,7 @@ pub unsafe extern "C" fn __rust_start_panic(_payload: usize) -> u32 {
47
}
48
__rust_abort();
49
50
- } else if #[cfg(windows)] {
+ } else if #[cfg(all(windows, not(miri)))] {
51
// On Windows, use the processor-specific __fastfail mechanism. In Windows 8
52
// and later, this will terminate the process immediately without running any
53
// in-process exception handlers. In earlier versions of Windows, this
0 commit comments