Skip to content

Commit

Permalink
Fix warnings on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Jan 28, 2025
1 parent fd4f492 commit e722344
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testsuite/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3143,6 +3143,7 @@ fn unaccessible_registry_cache_still_works() {
// make sure we add the permissions to the files afterwards so "cargo clean" can remove them (#6934)
set_permissions(&f_cache_path, 0o777);

#[cfg_attr(windows, allow(unused_variables))]
fn set_permissions(path: &Path, permissions: u32) {
#[cfg(not(windows))]
{
Expand Down

0 comments on commit e722344

Please sign in to comment.