diff --git a/src/meta/permissions.rs b/src/meta/permissions.rs index 3a38030ab..7b09252c9 100644 --- a/src/meta/permissions.rs +++ b/src/meta/permissions.rs @@ -127,7 +127,7 @@ impl Permissions { ColoredString::new(Colors::default_style(), res) } - #[cfg_attr(windows, allow(dead_code))] + #[cfg(not(windows))] pub fn is_executable(&self) -> bool { self.user_execute || self.group_execute || self.other_execute }