diff options
| author | Thom Chiovoloni <thom@shift.click> | 2022-10-11 17:22:12 -0700 |
|---|---|---|
| committer | Thom Chiovoloni <thom@shift.click> | 2023-06-21 14:59:37 -0700 |
| commit | bdc3db944cf8da99d80e67e7bb52917512d0a5a7 (patch) | |
| tree | 4bf332994538c0a5854994dbacd2f578e90cc73d /library/std/src/os/unix/ucred.rs | |
| parent | 006a26c0b546abc0fbef59a773639582b641e500 (diff) | |
| download | rust-bdc3db944cf8da99d80e67e7bb52917512d0a5a7.tar.gz rust-bdc3db944cf8da99d80e67e7bb52917512d0a5a7.zip | |
wip: Support Apple tvOS in libstd
Diffstat (limited to 'library/std/src/os/unix/ucred.rs')
| -rw-r--r-- | library/std/src/os/unix/ucred.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/os/unix/ucred.rs b/library/std/src/os/unix/ucred.rs index 95967eac295..6a0cc2d2c48 100644 --- a/library/std/src/os/unix/ucred.rs +++ b/library/std/src/os/unix/ucred.rs @@ -36,7 +36,7 @@ pub use self::impl_linux::peer_cred; ))] pub use self::impl_bsd::peer_cred; -#[cfg(any(target_os = "macos", target_os = "ios", target_os = "watchos"))] +#[cfg(any(target_os = "macos", target_os = "ios", target_os = "tvos", target_os = "watchos"))] pub use self::impl_mac::peer_cred; #[cfg(any(target_os = "linux", target_os = "android"))] @@ -98,7 +98,7 @@ pub mod impl_bsd { } } -#[cfg(any(target_os = "macos", target_os = "ios", target_os = "watchos"))] +#[cfg(any(target_os = "macos", target_os = "ios", target_os = "tvos", target_os = "watchos"))] pub mod impl_mac { use super::UCred; use crate::os::unix::io::AsRawFd; |
