diff --git a/test/sys/test_uio.rs b/test/sys/test_uio.rs index 8f8ba5e4e6..ad78c1df15 100644 --- a/test/sys/test_uio.rs +++ b/test/sys/test_uio.rs @@ -141,7 +141,7 @@ fn test_pread() { } #[test] -#[cfg(target_os = "linux")] +#[cfg(not(target_os = "redox"))] fn test_pwritev() { use std::io::Read; @@ -171,7 +171,7 @@ fn test_pwritev() { } #[test] -#[cfg(target_os = "linux")] +#[cfg(not(target_os = "redox"))] fn test_preadv() { use std::io::Write;