diff options
author | Jarred Allen <jarred@moveparallel.com> | 2023-05-22 14:36:59 -0700 |
---|---|---|
committer | Jarred Allen <jarred@moveparallel.com> | 2023-05-22 14:36:59 -0700 |
commit | 3174d85d085a3d5dc64908ea12366698233645d5 (patch) | |
tree | 87f77bc23fc3de4b3f8fb901eaaa95657f5765e2 /test/test_fcntl.rs | |
parent | ff0fb3d18776151d0c8694f564ffb21164d1e17f (diff) | |
parent | c6f9e2332efcf62c751d7a0174bb791e732b90a8 (diff) | |
download | nix-3174d85d085a3d5dc64908ea12366698233645d5.zip |
Merge branch 'master' into set-sockaddr-length-linux
Diffstat (limited to 'test/test_fcntl.rs')
-rw-r--r-- | test/test_fcntl.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_fcntl.rs b/test/test_fcntl.rs index 8f50f16b..de502d1a 100644 --- a/test/test_fcntl.rs +++ b/test/test_fcntl.rs @@ -238,7 +238,7 @@ mod linux_android { use nix::unistd::{close, pipe, read, write}; use tempfile::tempfile; - #[cfg(any(target_os = "linux"))] + #[cfg(target_os = "linux")] use tempfile::NamedTempFile; use crate::*; @@ -355,7 +355,7 @@ mod linux_android { close(wr).unwrap(); } - #[cfg(any(target_os = "linux"))] + #[cfg(target_os = "linux")] #[test] fn test_fallocate() { let tmp = NamedTempFile::new().unwrap(); |