Skip to content

Commit d77c387

Browse files
committed
Fixes for Arm64EC
1 parent e9182f1 commit d77c387

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

tests/ui/cfg/conditional-compile-arch.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ pub fn main() { }
3838

3939
#[cfg(target_arch = "loongarch64")]
4040
pub fn main() { }
41+
42+
#[cfg(target_arch = "arm64ec")]
43+
pub fn main() { }

tests/ui/linkage-attr/incompatible-flavor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//@ compile-flags: --target=x86_64-unknown-linux-gnu -C linker-flavor=msvc --crate-type=rlib
2-
//@ needs-llvm-components:
2+
//@ needs-llvm-components: x86
33

44
#![feature(no_core)]
55
#![no_core]

tests/ui/runtime/backtrace-debuginfo.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,13 @@ macro_rules! dump_and_die {
4343
// rust-lang/rust to test it as well, but sometimes we just gotta keep
4444
// landing PRs.
4545
//
46-
// aarch64-msvc is broken as its backtraces are truncated.
46+
// aarch64-msvc/arm64ec-msvc is broken as its backtraces are truncated.
4747
// See https://github.com/rust-lang/rust/issues/140489
4848
if cfg!(any(target_os = "android",
4949
all(target_os = "linux", target_arch = "arm"),
5050
all(target_env = "msvc", target_arch = "x86"),
5151
all(target_env = "msvc", target_arch = "aarch64"),
52+
all(target_env = "msvc", target_arch = "arm64ec"),
5253
target_os = "freebsd",
5354
target_os = "dragonfly",
5455
target_os = "openbsd")) {

0 commit comments

Comments
 (0)