about summary refs log tree commit diff
path: root/library/std/src/sys/unix
diff options
context:
space:
mode:
authorCameron <51241057+maniwani@users.noreply.github.com>2022-11-14 09:17:21 -0800
committerCameron <51241057+maniwani@users.noreply.github.com>2022-11-14 09:19:12 -0800
commitf4f515973ecc689029b64759ff43dbba0e207be2 (patch)
tree564179c87da89cc4ce27b502f62169e50bf816ff /library/std/src/sys/unix
parent015ab659c2fcdf2f3a3fdaa6dc44455b9d0c2f3e (diff)
downloadrust-f4f515973ecc689029b64759ff43dbba0e207be2.tar.gz
rust-f4f515973ecc689029b64759ff43dbba0e207be2.zip
macos, aarch64, and not(miri)
Diffstat (limited to 'library/std/src/sys/unix')
-rw-r--r--library/std/src/sys/unix/time.rs4
1 files changed, 2 insertions, 2 deletions
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<libc::timespec> 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"
 )))]