Skip to content

Commit b0c9586

Browse files
committed
No longer gate unsupported file locking behind Linux as OS
1 parent 585cf31 commit b0c9586

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/cargo/util/flock.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,6 @@ mod sys {
378378
// For targets in which they are the same, the duplicate pattern causes a warning.
379379
#[allow(unreachable_patterns)]
380380
Some(libc::ENOTSUP | libc::EOPNOTSUPP) => true,
381-
#[cfg(any(target_os = "linux", target_os = "android"))]
382381
Some(libc::ENOSYS) => true,
383382
_ => false,
384383
}

0 commit comments

Comments
 (0)