summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBryant Mairs <bryant@mai.rs>2017-07-16 21:23:55 -0700
committerBryant Mairs <bryant@mai.rs>2017-07-17 21:52:37 -0700
commit79ad5fa487d3d746aa3d03dc70bb133b96053d40 (patch)
tree155df135c088f84828a74ca81c689e4afb43c3c1 /test
parentc1ffefa56aaeef189e075dc14774e7f518b10b67 (diff)
downloadnix-79ad5fa487d3d746aa3d03dc70bb133b96053d40.zip
Remove preadv_pwritev feature in favor of conditional include
Diffstat (limited to 'test')
-rw-r--r--test/sys/test_uio.rs4
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;