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 acdcd3a

Browse files
authoredDec 15, 2024
Rollup merge of #130361 - devnexen:sock_cloexec_solaris, r=cuviper
std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4. try-job: dist-various-2
2 parents 4790a43 + 22dac23 commit acdcd3a

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.