File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -127,27 +127,25 @@ cfg_if! {
127127 }
128128}
129129
130- #[ cfg( feature = "std" ) ]
131- extern crate std;
132-
133130mod error;
134131pub use crate :: error:: Error ;
135132
136133#[ allow( dead_code) ]
137134mod util;
135+ // Unlike the other Unix, Fuchsia and iOS don't use the libc to make any calls.
138136#[ cfg( any(
139- target_os = "netbsd" ,
140- target_os = "openbsd" ,
141137 target_os = "android" ,
142- target_os = "linux " ,
138+ target_os = "dragonfly " ,
143139 target_os = "emscripten" ,
144- target_os = "solaris" ,
145- target_os = "illumos" ,
146- target_os = "macos" ,
147140 target_os = "freebsd" ,
148141 target_os = "haiku" ,
142+ target_os = "illumos" ,
143+ target_os = "linux" ,
144+ target_os = "macos" ,
145+ target_os = "netbsd" ,
146+ target_os = "openbsd" ,
149147 target_os = "redox" ,
150- target_os = "dragonfly " ,
148+ target_os = "solaris " ,
151149) ) ]
152150#[ allow( dead_code) ]
153151mod util_libc;
You can’t perform that action at this time.
0 commit comments