Skip to content

Commit

Permalink
support panic=abort in Miri
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Sep 18, 2020
1 parent 95386b6 commit 0810c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/panic_abort/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub unsafe extern "C" fn __rust_start_panic(_payload: usize) -> u32 {
}
__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
Expand Down

0 comments on commit 0810c3e

Please sign in to comment.