We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17dfae7 commit 53d2401Copy full SHA for 53d2401
library/std/src/sys/windows/mod.rs
@@ -285,6 +285,7 @@ pub fn dur2timeout(dur: Duration) -> c::DWORD {
285
#[allow(unreachable_code)]
286
pub fn abort_internal() -> ! {
287
const FAST_FAIL_FATAL_APP_EXIT: usize = 7;
288
+ #[cfg(not(miri))] // inline assembly does not work in Miri
289
unsafe {
290
cfg_if::cfg_if! {
291
if #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] {
0 commit comments