Auto merge of #163850 - jhpratt:rollup-BaXwXed, r=jhpratt

Rollup of 2 pull requests

Successful merges:

 - rust-lang/rust#163835 ([win][arm64] Revert the change to disable symlink tests for Arm64 Windows, and add a permission guard to the recursive_rmdir test)
 - rust-lang/rust#163844 (Trim trailing whitespace from `RELEASES.md`)
This commit is contained in:
bors
2026-10-06 01:07:36 +00:00
2 changed files with 5 additions and 19 deletions

View File

@@ -1294,10 +1294,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");
@@ -1309,7 +1305,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")));
if got_symlink_permission(&tmpdir) {
let _ = symlink_file(&canary, &d1.join("canary"));
}
check!(fs::remove_dir_all(&d1));
assert!(!d1.is_dir());
@@ -1317,10 +1315,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();
@@ -2136,10 +2130,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");
@@ -2676,10 +2666,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");