diff options
| author | Daniel Paoliello <danpao@microsoft.com> | 2025-07-13 15:01:48 -0700 |
|---|---|---|
| committer | Daniel Paoliello <danpao@microsoft.com> | 2025-07-13 15:01:48 -0700 |
| commit | d77c38727298ee442db4d927c13bc8b2de1db448 (patch) | |
| tree | f41294af5f035d8631b77ee6ab92eeefb33638ab | |
| parent | e9182f195b8505c87c4bd055b9f6e114ccda0981 (diff) | |
| download | rust-d77c38727298ee442db4d927c13bc8b2de1db448.tar.gz rust-d77c38727298ee442db4d927c13bc8b2de1db448.zip | |
Fixes for Arm64EC
| -rw-r--r-- | tests/ui/cfg/conditional-compile-arch.rs | 3 | ||||
| -rw-r--r-- | tests/ui/linkage-attr/incompatible-flavor.rs | 2 | ||||
| -rw-r--r-- | tests/ui/runtime/backtrace-debuginfo.rs | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/tests/ui/cfg/conditional-compile-arch.rs b/tests/ui/cfg/conditional-compile-arch.rs index 594d9344561..f1680547407 100644 --- a/tests/ui/cfg/conditional-compile-arch.rs +++ b/tests/ui/cfg/conditional-compile-arch.rs @@ -38,3 +38,6 @@ pub fn main() { } #[cfg(target_arch = "loongarch64")] pub fn main() { } + +#[cfg(target_arch = "arm64ec")] +pub fn main() { } diff --git a/tests/ui/linkage-attr/incompatible-flavor.rs b/tests/ui/linkage-attr/incompatible-flavor.rs index 7f583f47e2f..4711343f9c9 100644 --- a/tests/ui/linkage-attr/incompatible-flavor.rs +++ b/tests/ui/linkage-attr/incompatible-flavor.rs @@ -1,5 +1,5 @@ //@ compile-flags: --target=x86_64-unknown-linux-gnu -C linker-flavor=msvc --crate-type=rlib -//@ needs-llvm-components: +//@ needs-llvm-components: x86 #![feature(no_core)] #![no_core] diff --git a/tests/ui/runtime/backtrace-debuginfo.rs b/tests/ui/runtime/backtrace-debuginfo.rs index 37fce2788b7..5fb9943d6c3 100644 --- a/tests/ui/runtime/backtrace-debuginfo.rs +++ b/tests/ui/runtime/backtrace-debuginfo.rs @@ -43,12 +43,13 @@ macro_rules! dump_and_die { // rust-lang/rust to test it as well, but sometimes we just gotta keep // landing PRs. // - // aarch64-msvc is broken as its backtraces are truncated. + // aarch64-msvc/arm64ec-msvc is broken as its backtraces are truncated. // See https://github.com/rust-lang/rust/issues/140489 if cfg!(any(target_os = "android", all(target_os = "linux", target_arch = "arm"), all(target_env = "msvc", target_arch = "x86"), all(target_env = "msvc", target_arch = "aarch64"), + all(target_env = "msvc", target_arch = "arm64ec"), target_os = "freebsd", target_os = "dragonfly", target_os = "openbsd")) { |
