From 149a2370c6e58dcebdf5963cfe04b3ac75b21d96 Mon Sep 17 00:00:00 2001 From: Daniel Paoliello Date: Fri, 10 May 2024 12:41:52 -0700 Subject: [PATCH] Promote `arm64ec-pc-windows-msvc` to tier 2 --- std/src/os/linux/raw.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/std/src/os/linux/raw.rs b/std/src/os/linux/raw.rs index c29dd62bc06f0..d53674d3c5f2c 100644 --- a/std/src/os/linux/raw.rs +++ b/std/src/os/linux/raw.rs @@ -244,7 +244,11 @@ mod arch { pub use libc::{blkcnt_t, blksize_t, ino_t, nlink_t, off_t, stat, time_t}; } -#[cfg(target_arch = "aarch64")] +#[cfg(any( + target_arch = "aarch64", + // Arm64EC is Windows-only, but docs are always build as Linux, so re-use AArch64 for Arm64EC. + all(doc, target_arch = "arm64ec") +))] mod arch { use crate::os::raw::{c_int, c_long};