Skip to content

Commit

Permalink
enable only for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
vertexclique committed Jan 25, 2024
1 parent abf4a1c commit c1e02e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/fread-vect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use futures::AsyncReadExt;
const IOVEC_WIDTH: usize = 1 << 10;

Check warning on line 9 in tests/fread-vect.rs

View workflow job for this annotation

GitHub Actions / stable - x86_64-apple-darwin

constant `IOVEC_WIDTH` is never used

Check warning on line 9 in tests/fread-vect.rs

View workflow job for this annotation

GitHub Actions / stable - x86_64-apple-darwin

constant `IOVEC_WIDTH` is never used

Check warning on line 9 in tests/fread-vect.rs

View workflow job for this annotation

GitHub Actions / stable - x86_64-apple-darwin

constant `IOVEC_WIDTH` is never used

Check warning on line 9 in tests/fread-vect.rs

View workflow job for this annotation

GitHub Actions / stable - x86_64-apple-darwin

constant `IOVEC_WIDTH` is never used

#[nuclei::test]
#[cfg(target_os = "linux")]
async fn read_vectored() {
let mut path = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
path.push("testdata");
Expand Down
1 change: 1 addition & 0 deletions tests/fwrite-vect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/// Ref issue: https://github.com/rust-lang/rust/issues/68041
/// This should work fine with iouring.
#[cfg(feature = "iouring")]
#[cfg(target_os = "linux")]
#[nuclei::test]
async fn write_vectored() {
use nuclei::*;
Expand Down

0 comments on commit c1e02e2

Please sign in to comment.