File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 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;
1212 all( target_os = "linux" , not( target_env = "musl" ) ) ,
1313 target_os = "android" ,
1414 target_os = "fuchsia" ,
15- target_os = "hurd"
15+ target_os = "hurd" ,
16+ target_os = "illumos" ,
1617) ) ]
1718use libc:: dirfd;
18- #[ cfg( target_os = "fuchsia" ) ]
19+ #[ cfg( any ( target_os = "fuchsia" , target_os = "illumos" ) ) ]
1920use libc:: fstatat as fstatat64;
2021#[ cfg( any( all( target_os = "linux" , not( target_env = "musl" ) ) , target_os = "hurd" ) ) ]
2122use libc:: fstatat64;
@@ -892,7 +893,8 @@ impl DirEntry {
892893 all( target_os = "linux" , not( target_env = "musl" ) ) ,
893894 target_os = "android" ,
894895 target_os = "fuchsia" ,
895- target_os = "hurd"
896+ target_os = "hurd" ,
897+ target_os = "illumos" ,
896898 ) ,
897899 not( miri) // no dirfd on Miri
898900 ) ) ]
@@ -922,6 +924,7 @@ impl DirEntry {
922924 target_os = "android" ,
923925 target_os = "fuchsia" ,
924926 target_os = "hurd" ,
927+ target_os = "illumos" ,
925928 ) ) ,
926929 miri
927930 ) ) ]
You can’t perform that action at this time.
0 commit comments