Skip to content

Commit 0ec3ee7

Browse files
Zalathargitbot
authored and
gitbot
committed
Rollup merge of rust-lang#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 8648405 + f9d5a54 commit 0ec3ee7

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)