Skip to content

Commit

Permalink
ignore tests using NamedTempFile::new
Browse files Browse the repository at this point in the history
```
error: unsupported operation: non-default mode 0o600 is not supported
```
  • Loading branch information
taiki-e committed Dec 27, 2022
1 parent 416f38c commit 957ef81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tokio/tests/fs_file.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#![warn(rust_2018_idioms)]
#![cfg(all(feature = "full", not(tokio_wasi)))] // Wasi does not support file operations
#![cfg(not(miri))] // Miri doesn't support opening file with non-default mode (inside NamedTempFile::new)

use std::io::prelude::*;
use tempfile::NamedTempFile;
Expand Down
1 change: 1 addition & 0 deletions tokio/tests/io_fill_buf.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#![warn(rust_2018_idioms)]
#![cfg(all(feature = "full", not(tokio_wasi)))] // Wasi does not support file operations
#![cfg(not(miri))] // Miri doesn't support opening file with non-default mode (inside NamedTempFile::new)

use tempfile::NamedTempFile;
use tokio::fs::File;
Expand Down

0 comments on commit 957ef81

Please sign in to comment.