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

@@ -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)

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")));
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());
@@ -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");