Skip to content

Commit

Permalink
Unrolled build for rust-lang#130361
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rust-timer authored Dec 15, 2024
2 parents 87139bd + 22dac23 commit 2873195
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/std/src/sys/pal/unix/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ impl Socket {
target_os = "netbsd",
target_os = "openbsd",
target_os = "nto",
target_os = "solaris",
))] {
// On platforms that support it we pass the SOCK_CLOEXEC
// flag to atomically create the socket and set it as
Expand Down

0 comments on commit 2873195

Please sign in to comment.