Skip to content

Commit 8fd53e3

Browse files
authored
Rollup merge of #88053 - bjorn3:fix_flock_fallback_impl, r=cjgillot
Fix the flock fallback implementation
2 parents 5878780 + 21f07b5 commit 8fd53e3

File tree

1 file changed

+4
-0
lines changed
  • compiler/rustc_data_structures/src

1 file changed

+4
-0
lines changed

compiler/rustc_data_structures/src/flock.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,10 @@ cfg_if! {
222222
let msg = "file locks not supported on this platform";
223223
Err(io::Error::new(io::ErrorKind::Other, msg))
224224
}
225+
226+
pub fn error_unsupported(_err: &io::Error) -> bool {
227+
true
228+
}
225229
}
226230
}
227231
}

0 commit comments

Comments
 (0)