mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
No longer gate unsupported file locking behind Linux as OS
This commit is contained in:
parent
585cf31990
commit
b0c9586f4c
@ -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,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user