This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -670,12 +670,7 @@ impl DirEntry {
670670 fn name_cstr ( & self ) -> & CStr {
671671 unsafe { CStr :: from_ptr ( self . entry . d_name . as_ptr ( ) ) }
672672 }
673- #[ cfg( any(
674- target_os = "solaris" ,
675- target_os = "illumos" ,
676- target_os = "fuchsia" ,
677- target_os = "redox"
678- ) ) ]
673+ #[ cfg( any( target_os = "solaris" , target_os = "illumos" , target_os = "fuchsia" ) ) ]
679674 fn name_cstr ( & self ) -> & CStr {
680675 & self . name
681676 }
@@ -1631,7 +1626,8 @@ mod remove_dir_impl {
16311626 target_os = "solaris" ,
16321627 target_os = "illumos" ,
16331628 target_os = "haiku" ,
1634- target_os = "vxworks"
1629+ target_os = "vxworks" ,
1630+ target_os = "fuchsia"
16351631 ) ) ]
16361632 fn is_dir ( _ent : & DirEntry ) -> Option < bool > {
16371633 None
@@ -1641,7 +1637,8 @@ mod remove_dir_impl {
16411637 target_os = "solaris" ,
16421638 target_os = "illumos" ,
16431639 target_os = "haiku" ,
1644- target_os = "vxworks"
1640+ target_os = "vxworks" ,
1641+ target_os = "fuchsia"
16451642 ) ) ) ]
16461643 fn is_dir ( ent : & DirEntry ) -> Option < bool > {
16471644 match ent. entry . d_type {
You can’t perform that action at this time.
0 commit comments