Commit 440c4bf 1 parent 2058364 commit 440c4bf Copy full SHA for 440c4bf
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -472,7 +472,7 @@ fn get_group_by_gid(gid: u32) -> Option<String> {
472
472
}
473
473
}
474
474
475
- #[ cfg( target_os = "openbsd" ) ]
475
+ #[ cfg( all ( not ( windows ) , target_os = "openbsd" ) ) ]
476
476
fn list_extended_attributes ( path : & Path ) -> RusticResult < Vec < ExtendedAttribute > > {
477
477
Ok ( vec ! [ ] )
478
478
}
@@ -486,7 +486,7 @@ fn list_extended_attributes(path: &Path) -> RusticResult<Vec<ExtendedAttribute>>
486
486
/// # Errors
487
487
///
488
488
/// * [`IgnoreErrorKind::ErrorXattr`] - if Xattr couldn't be listed or couldn't be read
489
- #[ cfg( not( target_os = "openbsd" ) ) ]
489
+ #[ cfg( all ( not( windows ) , not ( target_os = "openbsd" ) ) ) ]
490
490
fn list_extended_attributes ( path : & Path ) -> RusticResult < Vec < ExtendedAttribute > > {
491
491
Ok ( xattr:: list ( path)
492
492
. map_err ( |err| IgnoreErrorKind :: ErrorXattr {
You can’t perform that action at this time.
0 commit comments