diff --git a/library/std/src/sys/unix/time.rs b/library/std/src/sys/unix/time.rs index c3fac44a42d..ffcc507d2a7 100644 --- a/library/std/src/sys/unix/time.rs +++ b/library/std/src/sys/unix/time.rs @@ -150,7 +150,7 @@ impl From for Timespec { } #[cfg(any( - all(target_os = "macos", not(target_arch = "aarch64")), + all(target_os = "macos", any(not(target_arch = "aarch64"), miri)), target_os = "ios", target_os = "watchos" ))] @@ -270,7 +270,7 @@ mod inner { } #[cfg(not(any( - all(target_os = "macos", not(target_arch = "aarch64")), + all(target_os = "macos", any(not(target_arch = "aarch64"), miri)), target_os = "ios", target_os = "watchos" )))]