Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 956efde

Browse files
authoredJun 12, 2024
Rollup merge of rust-lang#126039 - dpaoliello:arm64ecbuild, r=davidtwco
Promote `arm64ec-pc-windows-msvc` to tier 2 MCP: <rust-lang/compiler-team#746> * Update platform support docs * Add `arm64ec-pc-windows-msvc` as a target to the existing AArch64 Windows build in CI. * Fix docs build break. * Add `arm64ec-pc-windows-msvc` to build manifest. CI build (succeeded, but upload to S3 failed): <https://github.com/rust-lang/rust/actions/runs/9388227822/job/25853013083?pr=126039>
2 parents 209f8c8 + 149a237 commit 956efde

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎std/src/os/linux/raw.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,11 @@ mod arch {
244244
pub use libc::{blkcnt_t, blksize_t, ino_t, nlink_t, off_t, stat, time_t};
245245
}
246246

247-
#[cfg(target_arch = "aarch64")]
247+
#[cfg(any(
248+
target_arch = "aarch64",
249+
// Arm64EC is Windows-only, but docs are always build as Linux, so re-use AArch64 for Arm64EC.
250+
all(doc, target_arch = "arm64ec")
251+
))]
248252
mod arch {
249253
use crate::os::raw::{c_int, c_long};
250254

0 commit comments

Comments
 (0)
Failed to load comments.