miri tests: fstat is supported now (#8088)

This commit is contained in:
Ralf Jung
2026-04-27 15:23:40 +03:00
committed by GitHub
parent 6c03e03898
commit 89713ad1ec
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -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
-2
View File
@@ -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;