File tree 1 file changed +8
-10
lines changed
1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -127,27 +127,25 @@ cfg_if! {
127
127
}
128
128
}
129
129
130
- #[ cfg( feature = "std" ) ]
131
- extern crate std;
132
-
133
130
mod error;
134
131
pub use crate :: error:: Error ;
135
132
136
133
#[ allow( dead_code) ]
137
134
mod util;
135
+ // Unlike the other Unix, Fuchsia and iOS don't use the libc to make any calls.
138
136
#[ cfg( any(
139
- target_os = "netbsd" ,
140
- target_os = "openbsd" ,
141
137
target_os = "android" ,
142
- target_os = "linux " ,
138
+ target_os = "dragonfly " ,
143
139
target_os = "emscripten" ,
144
- target_os = "solaris" ,
145
- target_os = "illumos" ,
146
- target_os = "macos" ,
147
140
target_os = "freebsd" ,
148
141
target_os = "haiku" ,
142
+ target_os = "illumos" ,
143
+ target_os = "linux" ,
144
+ target_os = "macos" ,
145
+ target_os = "netbsd" ,
146
+ target_os = "openbsd" ,
149
147
target_os = "redox" ,
150
- target_os = "dragonfly " ,
148
+ target_os = "solaris " ,
151
149
) ) ]
152
150
#[ allow( dead_code) ]
153
151
mod util_libc;
You can’t perform that action at this time.
0 commit comments