Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
537f531
Promote `arm64ec-pc-windows-msvc` to tier 2
dpaoliello May 10, 2024
bfb7757
Correct parent for nested anon consts
BoxyUwU Jun 10, 2024
af4d6c7
interpret: refactor dyn trait handling
RalfJung Jun 10, 2024
6e31349
Simplify provider api to improve llvm ir
yaahc Jun 10, 2024
d041b7c
check for correct trait in size_and_align_of
RalfJung Jun 11, 2024
3757136
interpret: dyn trait metadata check: equate traits in a proper way
RalfJung Jun 10, 2024
0fc18e3
Remove DebugWithInfcx
compiler-errors Jun 6, 2024
5d8f40a
No uninitalized report in a pre-returned match arm
linyihai Jun 11, 2024
3bbd480
Update `rustc-perf` submodule
Kobzol Jun 12, 2024
cae18fa
Clarify doc comment.
m-ou-se Jun 12, 2024
1dc7952
Fix deprecation version.
m-ou-se Jun 12, 2024
2944eab
Use payload_as_str instead of two downcasts.
m-ou-se Jun 12, 2024
9afc913
Update doc comment on PanicInfo::message().
m-ou-se Jun 12, 2024
749a685
Fix deprecated version.
m-ou-se Jun 12, 2024
dc6def3
coverage: Add `tests/coverage/assert-ne.rs`
Zalathar Jun 11, 2024
0bfdb8d
coverage: Add `tests/coverage/loop-break.rs`
Zalathar Jun 12, 2024
2fa78f3
coverage: Replace the old span refiner with a single function
Zalathar Jun 9, 2024
ee45f5b
Rollup merge of #126039 - dpaoliello:arm64ecbuild, r=davidtwco
GuillaumeGomez Jun 12, 2024
99d0fee
Rollup merge of #126075 - compiler-errors:remove-debugwithinfcx, r=lcnr
GuillaumeGomez Jun 12, 2024
c21de3c
Rollup merge of #126228 - BoxyUwU:nested_repeat_expr_generics, r=comp…
GuillaumeGomez Jun 12, 2024
51a58c5
Rollup merge of #126232 - RalfJung:dyn-trait-equality, r=oli-obk
GuillaumeGomez Jun 12, 2024
d1414c5
Rollup merge of #126242 - yaahc:simplify-provider, r=jhpratt
GuillaumeGomez Jun 12, 2024
7a4f55b
Rollup merge of #126294 - Zalathar:spans-refiner, r=oli-obk
GuillaumeGomez Jun 12, 2024
876ef7f
Rollup merge of #126295 - linyihai:uninitalized-in-match-arm, r=pnkfelix
GuillaumeGomez Jun 12, 2024
d285297
Rollup merge of #126312 - Kobzol:update-rustc-perf, r=onur-ozkan
GuillaumeGomez Jun 12, 2024
5d22e7a
Rollup merge of #126322 - m-ou-se:panicinfo-and-panicinfo-2, r=RalfJung
GuillaumeGomez Jun 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Promote arm64ec-pc-windows-msvc to tier 2
  • Loading branch information
dpaoliello committed Jun 5, 2024
commit 537f531b4ea648d4be0e53db00a5a6c15745bdac
6 changes: 5 additions & 1 deletion library/std/src/os/linux/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};

Expand Down
1 change: 1 addition & 0 deletions src/ci/github-actions/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ auto:
RUST_CONFIGURE_ARGS: >-
--build=x86_64-pc-windows-msvc
--host=aarch64-pc-windows-msvc
--target=aarch64-pc-windows-msvc,arm64ec-pc-windows-msvc
--enable-full-tools
--enable-profiler
SCRIPT: python x.py dist bootstrap --include-default-paths
Expand Down
2 changes: 1 addition & 1 deletion src/doc/rustc/src/platform-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ target | std | notes
[`arm-linux-androideabi`](platform-support/android.md) | ✓ | Armv6 Android
`arm-unknown-linux-musleabi` | ✓ | Armv6 Linux with musl 1.2.3
`arm-unknown-linux-musleabihf` | ✓ | Armv6 Linux with musl 1.2.3, hardfloat
[`arm64ec-pc-windows-msvc`](platform-support/arm64ec-pc-windows-msvc.md) | ✓ | Arm64EC Windows MSVC
[`armebv7r-none-eabi`](platform-support/armv7r-none-eabi.md) | * | Bare Armv7-R, Big Endian
[`armebv7r-none-eabihf`](platform-support/armv7r-none-eabi.md) | * | Bare Armv7-R, Big Endian, hardfloat
`armv5te-unknown-linux-gnueabi` | ✓ | Armv5TE Linux (kernel 4.4, glibc 2.23)
Expand Down Expand Up @@ -240,7 +241,6 @@ target | std | host | notes
-------|:---:|:----:|-------
[`arm64e-apple-ios`](platform-support/arm64e-apple-ios.md) | ✓ | | ARM64e Apple iOS
[`arm64e-apple-darwin`](platform-support/arm64e-apple-darwin.md) | ✓ | ✓ | ARM64e Apple Darwin
[`arm64ec-pc-windows-msvc`](platform-support/arm64ec-pc-windows-msvc.md) | ? | | Arm64EC Windows MSVC
[`aarch64-apple-ios-macabi`](platform-support/apple-ios-macabi.md) | ✓ | | Apple Catalyst on ARM64
[`aarch64-apple-tvos`](platform-support/apple-tvos.md) | ✓ | | ARM64 tvOS
[`aarch64-apple-tvos-sim`](platform-support/apple-tvos.md) | ✓ | | ARM64 tvOS Simulator
Expand Down
11 changes: 6 additions & 5 deletions src/doc/rustc/src/platform-support/arm64ec-pc-windows-msvc.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `arm64ec-pc-windows-msvc`

**Tier: 3**
**Tier: 2**

Arm64EC ("Emulation Compatible") for mixed architecture (AArch64 and x86_64)
applications on AArch64 Windows 11. See <https://learn.microsoft.com/en-us/windows/arm/arm64ec>.
Expand All @@ -21,6 +21,9 @@ Only supported backend is LLVM 18 or above:
* 18.1.4 fixed linking issue for some intrinsics implemented in
`compiler_builtins`.

Visual Studio 2022 (or above) with the "ARM64/ARM64EC built tools" component and
the Windows 11 SDK are required.

### Reusing code from other architectures - x86_64 or AArch64?

Arm64EC uses `arm64ec` as its `target_arch`, but it is possible to reuse
Expand Down Expand Up @@ -62,10 +65,8 @@ target = [ "arm64ec-pc-windows-msvc" ]

## Building Rust programs

Rust does not yet ship pre-compiled artifacts for this target. To compile for
this target, you will either need to build Rust with the target enabled (see
"Building the target" above), or build your own copy using `build-std` or
similar.
These targets are distributed through `rustup`, and otherwise require no
special configuration.

## Testing

Expand Down
1 change: 1 addition & 0 deletions src/tools/build-manifest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ static TARGETS: &[&str] = &[
"arm-unknown-linux-gnueabihf",
"arm-unknown-linux-musleabi",
"arm-unknown-linux-musleabihf",
"arm64ec-pc-windows-msvc",
"armv5te-unknown-linux-gnueabi",
"armv5te-unknown-linux-musleabi",
"armv7-linux-androideabi",
Expand Down