@@ -8,16 +8,11 @@ mod tests;
88use libc:: c_char;
99#[ cfg( any(
1010 all( target_os = "linux" , not( target_env = "musl" ) ) ,
11- target_os = "emscripten" ,
1211 target_os = "android" ,
1312 target_os = "hurd"
1413) ) ]
1514use libc:: dirfd;
16- #[ cfg( any(
17- all( target_os = "linux" , not( target_env = "musl" ) ) ,
18- target_os = "emscripten" ,
19- target_os = "hurd"
20- ) ) ]
15+ #[ cfg( any( all( target_os = "linux" , not( target_env = "musl" ) ) , target_os = "hurd" ) ) ]
2116use libc:: fstatat64;
2217#[ cfg( any(
2318 target_os = "android" ,
@@ -29,12 +24,12 @@ use libc::fstatat64;
2924 target_os = "nto" ,
3025 target_os = "vita" ,
3126 all( target_os = "linux" , target_env = "musl" ) ,
27+ target_os = "emscripten" ,
3228) ) ]
3329use libc:: readdir as readdir64;
3430#[ cfg( not( any(
3531 target_os = "android" ,
3632 target_os = "linux" ,
37- target_os = "emscripten" ,
3833 target_os = "solaris" ,
3934 target_os = "illumos" ,
4035 target_os = "l4re" ,
@@ -48,7 +43,7 @@ use libc::readdir as readdir64;
4843use libc:: readdir_r as readdir64_r;
4944#[ cfg( any( all( target_os = "linux" , not( target_env = "musl" ) ) , target_os = "hurd" ) ) ]
5045use libc:: readdir64;
51- #[ cfg( any ( target_os = "emscripten" , target_os = " l4re") ) ]
46+ #[ cfg( target_os = "l4re" ) ]
5247use libc:: readdir64_r;
5348use libc:: { c_int, mode_t} ;
5449#[ cfg( target_os = "android" ) ]
@@ -58,7 +53,6 @@ use libc::{
5853} ;
5954#[ cfg( not( any(
6055 all( target_os = "linux" , not( target_env = "musl" ) ) ,
61- target_os = "emscripten" ,
6256 target_os = "l4re" ,
6357 target_os = "android" ,
6458 target_os = "hurd" ,
@@ -69,7 +63,6 @@ use libc::{
6963} ;
7064#[ cfg( any(
7165 all( target_os = "linux" , not( target_env = "musl" ) ) ,
72- target_os = "emscripten" ,
7366 target_os = "l4re" ,
7467 target_os = "hurd"
7568) ) ]
@@ -899,7 +892,6 @@ impl DirEntry {
899892 #[ cfg( all(
900893 any(
901894 all( target_os = "linux" , not( target_env = "musl" ) ) ,
902- target_os = "emscripten" ,
903895 target_os = "android" ,
904896 target_os = "hurd"
905897 ) ,
@@ -928,7 +920,6 @@ impl DirEntry {
928920 #[ cfg( any(
929921 not( any(
930922 all( target_os = "linux" , not( target_env = "musl" ) ) ,
931- target_os = "emscripten" ,
932923 target_os = "android" ,
933924 target_os = "hurd" ,
934925 ) ) ,
0 commit comments