File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -94,18 +94,24 @@ mod os {
94
94
}
95
95
}
96
96
97
- #[ cfg( any( target_os = "illumos" ) ) ]
97
+ #[ cfg( any(
98
+ target_os = "dragonfly" , // Since ???
99
+ target_os = "freebsd" , // Since 10.0
100
+ target_os = "illumos" , // Since ???
101
+ target_os = "netbsd" , // Since 6.0
102
+ target_os = "openbsd" , // Since 5.7
103
+ target_os = "redox" , // Since 1-july-2020
104
+ ) ) ]
98
105
mod os {
99
106
/// Check if the OS supports atomic close-on-exec for sockets
100
107
pub const fn socket_atomic_cloexec ( ) -> bool {
101
108
true
102
109
}
103
110
}
104
111
105
- #[ cfg( any( target_os = "macos" , target_os = "freebsd" ,
106
- target_os = "dragonfly" , target_os = "ios" ,
107
- target_os = "openbsd" , target_os = "netbsd" ,
108
- target_os = "redox" , target_os = "fuchsia" ,
112
+ #[ cfg( any( target_os = "macos" ,
113
+ target_os = "ios" ,
114
+ target_os = "fuchsia" ,
109
115
target_os = "solaris" ) ) ]
110
116
mod os {
111
117
/// Check if the OS supports atomic close-on-exec for sockets
You can’t perform that action at this time.
0 commit comments