From 843fa25bf60fce1e05ce7d16c965df0d36f3a6fe Mon Sep 17 00:00:00 2001 From: Daniel Paoliello Date: Mon, 5 Oct 2026 10:26:34 -0700 Subject: [PATCH 1/3] Revert "[win][arm64] Disable FS tests that require symlinks" This reverts commit 0cacc05531a4cf5229213e65eae2763ee4cf293e. --- library/std/src/fs/tests.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/library/std/src/fs/tests.rs b/library/std/src/fs/tests.rs index 77fe185c4e2..1e402585dad 100644 --- a/library/std/src/fs/tests.rs +++ b/library/std/src/fs/tests.rs @@ -1267,10 +1267,6 @@ fn recursive_mkdir_empty() { } #[test] -#[cfg_attr( - all(windows, target_arch = "aarch64"), - ignore = "SymLinks not enabled on Arm64 Windows runners https://github.com/actions/partner-runner-images/issues/94" -)] fn recursive_rmdir() { let tmpdir = tmpdir(); let d1 = tmpdir.join("d1"); @@ -1290,10 +1286,6 @@ fn recursive_rmdir() { } #[test] -#[cfg_attr( - all(windows, target_arch = "aarch64"), - ignore = "SymLinks not enabled on Arm64 Windows runners https://github.com/actions/partner-runner-images/issues/94" -)] fn recursive_rmdir_of_symlink() { // test we do not recursively delete a symlink but only dirs. let tmpdir = tmpdir(); @@ -2109,10 +2101,6 @@ fn file_open_not_found() { } #[test] -#[cfg_attr( - all(windows, target_arch = "aarch64"), - ignore = "SymLinks not enabled on Arm64 Windows runners https://github.com/actions/partner-runner-images/issues/94" -)] fn create_dir_all_with_junctions() { let tmpdir = tmpdir(); let target = tmpdir.join("target"); @@ -2649,10 +2637,6 @@ fn test_rename_symlink() { #[test] #[cfg(windows)] -#[cfg_attr( - all(windows, target_arch = "aarch64"), - ignore = "SymLinks not enabled on Arm64 Windows runners https://github.com/actions/partner-runner-images/issues/94" -)] fn test_rename_junction() { let tmpdir = tmpdir(); let original = tmpdir.join("original"); From c75ec7eb954249fa08ac33aaf4fd92fc8eb84b8a Mon Sep 17 00:00:00 2001 From: Daniel Paoliello Date: Mon, 5 Oct 2026 10:49:59 -0700 Subject: [PATCH 2/3] Only create a symlink in recursive_rmdir if we have permissions to do so --- library/std/src/fs/tests.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/library/std/src/fs/tests.rs b/library/std/src/fs/tests.rs index 1e402585dad..9485663f21a 100644 --- a/library/std/src/fs/tests.rs +++ b/library/std/src/fs/tests.rs @@ -1278,7 +1278,9 @@ fn recursive_rmdir() { check!(fs::create_dir_all(&d2)); check!(check!(File::create(&canary)).write(b"foo")); check!(junction_point(&d2, &dt.join("d2"))); - let _ = symlink_file(&canary, &d1.join("canary")); + if got_symlink_permission(&tmpdir) { + let _ = symlink_file(&canary, &d1.join("canary")); + } check!(fs::remove_dir_all(&d1)); assert!(!d1.is_dir()); From f614da46fc69df644d8e6ae0a8a0c68dc790f174 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Mon, 5 Oct 2026 13:50:54 -0700 Subject: [PATCH 3/3] Trim trailing whitespace from `RELEASES.md` These trailing spaces are fairly old, back in 1.87.0, but my editor has been flagging them as warnings. --- RELEASES.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index cd1f3ca7c38..b4dc100f5d5 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1537,7 +1537,7 @@ for more information on Rust's tiered platform support. Libraries --------- - [Stabilize the anonymous pipe API](https://github.com/rust-lang/rust/issues/127154) -- [Add support for unbounded left/right shift operations](https://github.com/rust-lang/rust/issues/129375) +- [Add support for unbounded left/right shift operations](https://github.com/rust-lang/rust/issues/129375) - [Print pointer metadata in `Debug` impl of raw pointers](https://github.com/rust-lang/rust/pull/135080) - [`Vec::with_capacity` guarantees it allocates with the amount requested, even if `Vec::capacity` returns a different number.](https://github.com/rust-lang/rust/pull/135933) - Most `std::arch` intrinsics which don't take pointer arguments can now be called from safe code if the caller has the appropriate target features already enabled (https://github.com/rust-lang/stdarch/pull/1714, https://github.com/rust-lang/stdarch/pull/1716, https://github.com/rust-lang/stdarch/pull/1717) @@ -1611,7 +1611,7 @@ These previously stable APIs are now stable in const contexts: - [`char::is_digit`](https://doc.rust-lang.org/stable/std/primitive.char.html#method.is_digit) - [`char::is_whitespace`](https://doc.rust-lang.org/stable/std/primitive.char.html#method.is_whitespace) - [`<[[T; N]]>::as_flattened`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.as_flattened) -- [`<[[T; N]]>::as_flattened_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.as_flattened_mut) +- [`<[[T; N]]>::as_flattened_mut`](https://doc.rust-lang.org/stable/std/primitive.slice.html#method.as_flattened_mut) - [`String::into_bytes`](https://doc.rust-lang.org/stable/std/string/struct.String.html#method.into_bytes) - [`String::as_str`](https://doc.rust-lang.org/stable/std/string/struct.String.html#method.as_str) - [`String::capacity`](https://doc.rust-lang.org/stable/std/string/struct.String.html#method.capacity)