Skip to content

Commit 3c52c56

Browse files
committed
Test preadv and pwritev on more operating systems
This was an oversight from PR #1511
1 parent 87142d2 commit 3c52c56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/sys/test_uio.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ fn test_pread() {
141141
}
142142

143143
#[test]
144-
#[cfg(target_os = "linux")]
144+
#[cfg(not(target_os = "redox"))]
145145
fn test_pwritev() {
146146
use std::io::Read;
147147

@@ -171,7 +171,7 @@ fn test_pwritev() {
171171
}
172172

173173
#[test]
174-
#[cfg(target_os = "linux")]
174+
#[cfg(not(target_os = "redox"))]
175175
fn test_preadv() {
176176
use std::io::Write;
177177

0 commit comments

Comments
 (0)