We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26d5432 commit b48ad7dCopy full SHA for b48ad7d
src/uu/cp/src/cp.rs
@@ -896,11 +896,11 @@ impl Attributes {
896
mode: Preserve::Yes { required: true },
897
timestamps: Preserve::Yes { required: true },
898
context: {
899
- #[cfg(feature = "feat_selinux")]
+ #[cfg(all(feature = "selinux", any(target_os = "linux", target_os = "android")))]
900
{
901
Preserve::Yes { required: false }
902
}
903
- #[cfg(not(feature = "feat_selinux"))]
+ #[cfg(not(all(feature = "selinux", any(target_os = "linux", target_os = "android"))))]
904
905
Preserve::No { explicit: false }
906
0 commit comments