File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -670,12 +670,7 @@ impl DirEntry {
670
670
fn name_cstr ( & self ) -> & CStr {
671
671
unsafe { CStr :: from_ptr ( self . entry . d_name . as_ptr ( ) ) }
672
672
}
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" ) ) ]
679
674
fn name_cstr ( & self ) -> & CStr {
680
675
& self . name
681
676
}
@@ -1631,7 +1626,8 @@ mod remove_dir_impl {
1631
1626
target_os = "solaris" ,
1632
1627
target_os = "illumos" ,
1633
1628
target_os = "haiku" ,
1634
- target_os = "vxworks"
1629
+ target_os = "vxworks" ,
1630
+ target_os = "fuchsia"
1635
1631
) ) ]
1636
1632
fn is_dir ( _ent : & DirEntry ) -> Option < bool > {
1637
1633
None
@@ -1641,7 +1637,8 @@ mod remove_dir_impl {
1641
1637
target_os = "solaris" ,
1642
1638
target_os = "illumos" ,
1643
1639
target_os = "haiku" ,
1644
- target_os = "vxworks"
1640
+ target_os = "vxworks" ,
1641
+ target_os = "fuchsia"
1645
1642
) ) ) ]
1646
1643
fn is_dir ( ent : & DirEntry ) -> Option < bool > {
1647
1644
match ent. entry . d_type {
You can’t perform that action at this time.
0 commit comments