Skip to content

Commit 44673db

Browse files
devnexengitbot
authored and
gitbot
committed
std::net: Solaris supports SOCK_CLOEXEC as well since 11.4.
1 parent bf95fb3 commit 44673db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

std/src/sys/pal/unix/net.rs

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ impl Socket {
8181
target_os = "netbsd",
8282
target_os = "openbsd",
8383
target_os = "nto",
84+
target_os = "solaris",
8485
))] {
8586
// On platforms that support it we pass the SOCK_CLOEXEC
8687
// flag to atomically create the socket and set it as

0 commit comments

Comments
 (0)