Skip to content

Commit 342da67

Browse files
committed
Fixed builds with modified libc
1 parent 3db94e8 commit 342da67

File tree

5 files changed

+3
-0
lines changed

5 files changed

+3
-0
lines changed

std/src/os/unix/net/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ mod tests;
2020
target_os = "ios",
2121
target_os = "tvos",
2222
target_os = "watchos",
23+
target_os = "visionos",
2324
target_os = "macos",
2425
target_os = "netbsd",
2526
target_os = "openbsd",
@@ -46,6 +47,7 @@ pub use self::stream::*;
4647
target_os = "ios",
4748
target_os = "tvos",
4849
target_os = "watchos",
50+
target_os = "visionos",
4951
target_os = "macos",
5052
target_os = "netbsd",
5153
target_os = "openbsd",

std/src/os/unix/net/stream.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
target_os = "tvos",
88
target_os = "macos",
99
target_os = "watchos",
10+
target_os = "visionos",
1011
target_os = "netbsd",
1112
target_os = "openbsd"
1213
))]
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)