@@ -8,16 +8,11 @@ mod tests;
8
8
use libc:: c_char;
9
9
#[ cfg( any(
10
10
all( target_os = "linux" , not( target_env = "musl" ) ) ,
11
- target_os = "emscripten" ,
12
11
target_os = "android" ,
13
12
target_os = "hurd"
14
13
) ) ]
15
14
use 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" ) ) ]
21
16
use libc:: fstatat64;
22
17
#[ cfg( any(
23
18
target_os = "android" ,
@@ -29,12 +24,12 @@ use libc::fstatat64;
29
24
target_os = "nto" ,
30
25
target_os = "vita" ,
31
26
all( target_os = "linux" , target_env = "musl" ) ,
27
+ target_os = "emscripten" ,
32
28
) ) ]
33
29
use libc:: readdir as readdir64;
34
30
#[ cfg( not( any(
35
31
target_os = "android" ,
36
32
target_os = "linux" ,
37
- target_os = "emscripten" ,
38
33
target_os = "solaris" ,
39
34
target_os = "illumos" ,
40
35
target_os = "l4re" ,
@@ -48,7 +43,7 @@ use libc::readdir as readdir64;
48
43
use libc:: readdir_r as readdir64_r;
49
44
#[ cfg( any( all( target_os = "linux" , not( target_env = "musl" ) ) , target_os = "hurd" ) ) ]
50
45
use libc:: readdir64;
51
- #[ cfg( any ( target_os = "emscripten" , target_os = " l4re") ) ]
46
+ #[ cfg( target_os = "l4re" ) ]
52
47
use libc:: readdir64_r;
53
48
use libc:: { c_int, mode_t} ;
54
49
#[ cfg( target_os = "android" ) ]
@@ -58,7 +53,6 @@ use libc::{
58
53
} ;
59
54
#[ cfg( not( any(
60
55
all( target_os = "linux" , not( target_env = "musl" ) ) ,
61
- target_os = "emscripten" ,
62
56
target_os = "l4re" ,
63
57
target_os = "android" ,
64
58
target_os = "hurd" ,
@@ -69,7 +63,6 @@ use libc::{
69
63
} ;
70
64
#[ cfg( any(
71
65
all( target_os = "linux" , not( target_env = "musl" ) ) ,
72
- target_os = "emscripten" ,
73
66
target_os = "l4re" ,
74
67
target_os = "hurd"
75
68
) ) ]
@@ -899,7 +892,6 @@ impl DirEntry {
899
892
#[ cfg( all(
900
893
any(
901
894
all( target_os = "linux" , not( target_env = "musl" ) ) ,
902
- target_os = "emscripten" ,
903
895
target_os = "android" ,
904
896
target_os = "hurd"
905
897
) ,
@@ -928,7 +920,6 @@ impl DirEntry {
928
920
#[ cfg( any(
929
921
not( any(
930
922
all( target_os = "linux" , not( target_env = "musl" ) ) ,
931
- target_os = "emscripten" ,
932
923
target_os = "android" ,
933
924
target_os = "hurd" ,
934
925
) ) ,
0 commit comments