From b0c9586f4cbf426914df47c65de38ea323772c74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20K=C3=B6pcke?= Date: Tue, 16 Aug 2022 12:46:47 +0200 Subject: [PATCH] No longer gate unsupported file locking behind Linux as OS --- src/cargo/util/flock.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/cargo/util/flock.rs b/src/cargo/util/flock.rs index 3ef6f961d59..2986abb905d 100644 --- a/src/cargo/util/flock.rs +++ b/src/cargo/util/flock.rs @@ -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, }