We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-1
1 parent 9567c3e commit 89cf177Copy full SHA for 89cf177
library/std/src/os/unix/net/listener.rs
@@ -80,14 +80,20 @@ impl UnixListener {
80
target_os = "horizon"
81
))]
82
const backlog: libc::c_int = 128;
83
- #[cfg(any(target_os = "linux", target_os = "freebsd", target_os = "openbsd"))]
+ #[cfg(any(
84
+ target_os = "linux",
85
+ target_os = "freebsd",
86
+ target_os = "openbsd",
87
+ target_os = "macos"
88
+ ))]
89
const backlog: libc::c_int = -1;
90
#[cfg(not(any(
91
target_os = "windows",
92
target_os = "redox",
93
target_os = "linux",
94
target_os = "freebsd",
95
target_os = "openbsd",
96
+ target_os = "macos",
97
target_os = "espidf",
98
99
)))]
0 commit comments