File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -12,10 +12,11 @@ use libc::c_char;
12
12
all( target_os = "linux" , not( target_env = "musl" ) ) ,
13
13
target_os = "android" ,
14
14
target_os = "fuchsia" ,
15
- target_os = "hurd"
15
+ target_os = "hurd" ,
16
+ target_os = "illumos" ,
16
17
) ) ]
17
18
use libc:: dirfd;
18
- #[ cfg( target_os = "fuchsia" ) ]
19
+ #[ cfg( any ( target_os = "fuchsia" , target_os = "illumos" ) ) ]
19
20
use libc:: fstatat as fstatat64;
20
21
#[ cfg( any( all( target_os = "linux" , not( target_env = "musl" ) ) , target_os = "hurd" ) ) ]
21
22
use libc:: fstatat64;
@@ -892,7 +893,8 @@ impl DirEntry {
892
893
all( target_os = "linux" , not( target_env = "musl" ) ) ,
893
894
target_os = "android" ,
894
895
target_os = "fuchsia" ,
895
- target_os = "hurd"
896
+ target_os = "hurd" ,
897
+ target_os = "illumos" ,
896
898
) ,
897
899
not( miri) // no dirfd on Miri
898
900
) ) ]
@@ -922,6 +924,7 @@ impl DirEntry {
922
924
target_os = "android" ,
923
925
target_os = "fuchsia" ,
924
926
target_os = "hurd" ,
927
+ target_os = "illumos" ,
925
928
) ) ,
926
929
miri
927
930
) ) ]
You can’t perform that action at this time.
0 commit comments