Skip to content

Commit

Permalink
No longer gate unsupported file locking behind Linux as OS
Browse files Browse the repository at this point in the history
  • Loading branch information
theCapypara committed Aug 16, 2022
1 parent 585cf31 commit b0c9586
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cargo/util/flock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,6 @@ mod sys {
// For targets in which they are the same, the duplicate pattern causes a warning.
#[allow(unreachable_patterns)]
Some(libc::ENOTSUP | libc::EOPNOTSUPP) => true,
#[cfg(any(target_os = "linux", target_os = "android"))]
Some(libc::ENOSYS) => true,
_ => false,
}
Expand Down

0 comments on commit b0c9586

Please sign in to comment.