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:
Stuart Cook 2024-12-15 20:01:36 +11:00 committed by GitHub
commit acdcd3a895
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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