From 20d5ccb224a514cfbff70951106b3b0b03f2f7d9 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Wed, 21 Oct 2026 15:00:18 +0200 Subject: [PATCH] re-enable test_dir_remove_dir test on QNX --- library/std/src/fs/tests.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/library/std/src/fs/tests.rs b/library/std/src/fs/tests.rs index 8af3fa2b3b391..d611bac98f2e3 100644 --- a/library/std/src/fs/tests.rs +++ b/library/std/src/fs/tests.rs @@ -3268,10 +3268,6 @@ fn test_dir_rename_file() { assert_eq!(b"bar", &buf); } -// FIXME: re-enable once QNX fixes TOCTOU bug for fs::remove_dir -// Note that it may get fixed in QNX 8 in a future libc release -// ... https://github.com/rust-lang/rust/issues/153781 -#[cfg_attr(any(target_os = "nto", target_os = "qnx"), ignore)] #[test] fn test_dir_remove_dir() { let tmpdir = tmpdir();