diff options
author | Bryant Mairs <bryant@mai.rs> | 2017-07-16 21:23:55 -0700 |
---|---|---|
committer | Bryant Mairs <bryant@mai.rs> | 2017-07-17 21:52:37 -0700 |
commit | 79ad5fa487d3d746aa3d03dc70bb133b96053d40 (patch) | |
tree | 155df135c088f84828a74ca81c689e4afb43c3c1 /test | |
parent | c1ffefa56aaeef189e075dc14774e7f518b10b67 (diff) | |
download | nix-79ad5fa487d3d746aa3d03dc70bb133b96053d40.zip |
Remove preadv_pwritev feature in favor of conditional include
Diffstat (limited to 'test')
-rw-r--r-- | test/sys/test_uio.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sys/test_uio.rs b/test/sys/test_uio.rs index 90cda56f..d805b3b3 100644 --- a/test/sys/test_uio.rs +++ b/test/sys/test_uio.rs @@ -129,7 +129,7 @@ fn test_pread() { } #[test] -#[cfg(feature = "preadv_pwritev")] +#[cfg(target_os = "linux")] fn test_pwritev() { use std::io::Read; @@ -159,7 +159,7 @@ fn test_pwritev() { } #[test] -#[cfg(feature = "preadv_pwritev")] +#[cfg(target_os = "linux")] fn test_preadv() { use std::io::Write; |