about summary refs log tree commit diff
path: root/library/std/src/os
diff options
context:
space:
mode:
authorThom Chiovoloni <thom@shift.click>2023-06-04 09:46:43 -0700
committerThom Chiovoloni <thom@shift.click>2023-06-21 14:59:40 -0700
commit37854aab76209788b0f402aa0ff0acb2a8d3acb7 (patch)
tree611fb10732afb847c474155db05520ad4625de9a /library/std/src/os
parent49da0acb7153f93a09f3f28461d4e4f23452df21 (diff)
downloadrust-37854aab76209788b0f402aa0ff0acb2a8d3acb7.tar.gz
rust-37854aab76209788b0f402aa0ff0acb2a8d3acb7.zip
Update tvOS support elsewhere in the stdlib
Diffstat (limited to 'library/std/src/os')
-rw-r--r--library/std/src/os/unix/ucred/tests.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/library/std/src/os/unix/ucred/tests.rs b/library/std/src/os/unix/ucred/tests.rs
index 7c3a646ed93..dd99ecdd819 100644
--- a/library/std/src/os/unix/ucred/tests.rs
+++ b/library/std/src/os/unix/ucred/tests.rs
@@ -27,7 +27,13 @@ fn test_socket_pair() {
 }
 
 #[test]
-#[cfg(any(target_os = "linux", target_os = "ios", target_os = "macos", target_os = "watchos"))]
+#[cfg(any(
+    target_os = "linux",
+    target_os = "ios",
+    target_os = "macos",
+    target_os = "watchos",
+    target_os = "tvos",
+))]
 fn test_socket_pair_pids(arg: Type) -> RetType {
     // Create two connected sockets and get their peer credentials.
     let (sock_a, sock_b) = UnixStream::pair().unwrap();