about summary refs log tree commit diff
path: root/library/std/src/os/unix/net
diff options
context:
space:
mode:
authorThom Chiovoloni <thom@shift.click>2022-10-11 17:22:12 -0700
committerThom Chiovoloni <thom@shift.click>2023-06-21 14:59:37 -0700
commitbdc3db944cf8da99d80e67e7bb52917512d0a5a7 (patch)
tree4bf332994538c0a5854994dbacd2f578e90cc73d /library/std/src/os/unix/net
parent006a26c0b546abc0fbef59a773639582b641e500 (diff)
downloadrust-bdc3db944cf8da99d80e67e7bb52917512d0a5a7.tar.gz
rust-bdc3db944cf8da99d80e67e7bb52917512d0a5a7.zip
wip: Support Apple tvOS in libstd
Diffstat (limited to 'library/std/src/os/unix/net')
-rw-r--r--library/std/src/os/unix/net/stream.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/std/src/os/unix/net/stream.rs b/library/std/src/os/unix/net/stream.rs
index bf2a51b5edb..e20170873bb 100644
--- a/library/std/src/os/unix/net/stream.rs
+++ b/library/std/src/os/unix/net/stream.rs
@@ -11,6 +11,7 @@ use crate::os::unix::io::{AsFd, AsRawFd, BorrowedFd, FromRawFd, IntoRawFd, Owned
     target_os = "dragonfly",
     target_os = "freebsd",
     target_os = "ios",
+    target_os = "tvos",
     target_os = "macos",
     target_os = "watchos",
     target_os = "netbsd",
@@ -30,6 +31,7 @@ use crate::time::Duration;
     target_os = "dragonfly",
     target_os = "freebsd",
     target_os = "ios",
+    target_os = "tvos",
     target_os = "macos",
     target_os = "watchos",
     target_os = "netbsd",
@@ -238,6 +240,7 @@ impl UnixStream {
         target_os = "dragonfly",
         target_os = "freebsd",
         target_os = "ios",
+        target_os = "tvos",
         target_os = "macos",
         target_os = "watchos",
         target_os = "netbsd",