diff options
| author | David Carlier <devnexen@gmail.com> | 2024-09-14 18:46:06 +0100 |
|---|---|---|
| committer | David Carlier <devnexen@gmail.com> | 2024-09-14 18:46:06 +0100 |
| commit | 22dac2339a6c151693b6e4e38b3a9b28a3f51921 (patch) | |
| tree | c82f7ce9c0af034780c3aef1a85422b0337ea7d3 /library/std/src | |
| parent | e7386b361dda8c2222bee7a1ae79faba7e9a0351 (diff) | |
std::net: Solaris supports `SOCK_CLOEXEC` as well since 11.4.
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/sys/pal/unix/net.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/pal/unix/net.rs b/library/std/src/sys/pal/unix/net.rs index d75a666d350..74347792abe 100644 --- a/library/std/src/sys/pal/unix/net.rs +++ b/library/std/src/sys/pal/unix/net.rs @@ -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 |
