]> git.proxmox.com Git - cargo.git/commitdiff
No longer gate unsupported file locking behind Linux as OS
authorMarco Köpcke <marco.koepcke@tudock.de>
Tue, 16 Aug 2022 10:46:47 +0000 (12:46 +0200)
committerMarco Köpcke <marco.koepcke@tudock.de>
Tue, 16 Aug 2022 10:46:47 +0000 (12:46 +0200)
src/cargo/util/flock.rs

index 3ef6f961d590013fe897e07c751c6c03a91ce945..2986abb905df1aa28805f23347f6b47e6634ed9d 100644 (file)
@@ -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,
         }