diff options
Diffstat (limited to 'src/features.rs')
-rw-r--r-- | src/features.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/features.rs b/src/features.rs index 76cdfd3a..827eecac 100644 --- a/src/features.rs +++ b/src/features.rs @@ -94,7 +94,10 @@ mod os { } } -#[cfg(any(target_os = "macos", target_os = "freebsd", target_os = "dragonfly", target_os = "ios", target_os = "openbsd", target_os = "netbsd"))] +#[cfg(any(target_os = "macos", target_os = "freebsd", + target_os = "dragonfly", target_os = "ios", + target_os = "openbsd", target_os = "netbsd", + target_os = "redox"))] mod os { /// Check if the OS supports atomic close-on-exec for sockets pub fn socket_atomic_cloexec() -> bool { |