mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-26 00:00:16 +02:00
miri tests: fstat is supported now (#8088)
This commit is contained in:
@@ -18,7 +18,7 @@ env:
|
||||
rust_stable: stable
|
||||
rust_nightly: nightly-2025-10-12
|
||||
# Pin a specific miri version
|
||||
rust_miri_nightly: nightly-2025-11-13
|
||||
rust_miri_nightly: nightly-2026-04-27
|
||||
rust_clippy: '1.88'
|
||||
# When updating this, also update:
|
||||
# - README.md
|
||||
|
||||
@@ -226,7 +226,6 @@ async fn from_file() -> io::Result<()> {
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
#[cfg_attr(miri, ignore)] // No `fstat` in miri.
|
||||
async fn from_file_detects_not_a_fifo() -> io::Result<()> {
|
||||
let dir = tempfile::Builder::new()
|
||||
.prefix("tokio-fifo-tests")
|
||||
@@ -500,7 +499,6 @@ async fn anon_pipe_spawn_echo() -> std::io::Result<()> {
|
||||
|
||||
#[tokio::test]
|
||||
#[cfg(target_os = "linux")]
|
||||
#[cfg_attr(miri, ignore)] // No `fstat` in miri.
|
||||
async fn anon_pipe_from_owned_fd() -> std::io::Result<()> {
|
||||
use nix::fcntl::OFlag;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user