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 7230a3a commit 53ec3dfCopy full SHA for 53ec3df
src/uu/cp/src/cp.rs
@@ -1744,6 +1744,7 @@ pub(crate) fn copy_attributes(
1744
// do nothing, since every symbolic link has the same
1745
// permissions.
1746
if !dest.is_symlink() {
1747
+ #[cfg_attr(not(unix), allow(unused_mut))]
1748
let mut perms = source_metadata.permissions();
1749
#[cfg(unix)]
1750
{
0 commit comments