Skip to content

Commit

Permalink
Test preadv and pwritev on more operating systems
Browse files Browse the repository at this point in the history
This was an oversight from PR #1511
  • Loading branch information
asomers committed Nov 17, 2021
1 parent a9a9f05 commit 9c4462c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sys/test_uio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ fn test_pread() {
}

#[test]
#[cfg(target_os = "linux")]
#[cfg(not(target_os = "redox"))]
fn test_pwritev() {
use std::io::Read;

Expand Down Expand Up @@ -171,7 +171,7 @@ fn test_pwritev() {
}

#[test]
#[cfg(target_os = "linux")]
#[cfg(not(target_os = "redox"))]
fn test_preadv() {
use std::io::Write;

Expand Down

0 comments on commit 9c4462c

Please sign in to comment.