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
This commit is contained in:
commit
acdcd3a895
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue