diff options
| author | Vladimir Michael Eatwell <dimir@fb.com> | 2022-03-23 16:05:01 +0000 |
|---|---|---|
| committer | Vladimir Michael Eatwell <dimir@fb.com> | 2022-07-20 08:57:36 +0100 |
| commit | 439d64a83c84fe36befacc4af867eaadb96589d5 (patch) | |
| tree | 18b420b8abf27c5511e8d1bee7fbfc1a715f3799 /library/std/src/sys/unix/time.rs | |
| parent | c3605f8c8020dbbe8f0d1961c7b33c4c4b78ad0d (diff) | |
| download | rust-439d64a83c84fe36befacc4af867eaadb96589d5.tar.gz rust-439d64a83c84fe36befacc4af867eaadb96589d5.zip | |
Library changes for Apple WatchOS
Diffstat (limited to 'library/std/src/sys/unix/time.rs')
| -rw-r--r-- | library/std/src/sys/unix/time.rs | 4 |
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 d114af49d26..dff973f59d1 100644 --- a/library/std/src/sys/unix/time.rs +++ b/library/std/src/sys/unix/time.rs @@ -141,7 +141,7 @@ impl From<libc::timespec> for Timespec { } } -#[cfg(any(target_os = "macos", target_os = "ios"))] +#[cfg(any(target_os = "macos", target_os = "ios", target_os = "watchos"))] mod inner { use crate::sync::atomic::{AtomicU64, Ordering}; use crate::sys::cvt; @@ -257,7 +257,7 @@ mod inner { } } -#[cfg(not(any(target_os = "macos", target_os = "ios")))] +#[cfg(not(any(target_os = "macos", target_os = "ios", target_os = "watchos")))] mod inner { use crate::fmt; use crate::mem::MaybeUninit; |
