Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 22dac23

Browse files
committedSep 14, 2024
std::net: Solaris supports SOCK_CLOEXEC as well since 11.4.
1 parent e7386b3 commit 22dac23

File tree

1 file changed

+1
-0
lines changed
  • library/std/src/sys/pal/unix

1 file changed

+1
-0
lines changed
 

‎library/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)
Failed to load comments.