Skip to content

[win][arm64] Disable various DebugInfo tests that don't work on Arm64 Windows #140755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 8, 2025
Merged
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions src/tools/compiletest/src/directive-list.rs
Original file line number Diff line number Diff line change
@@ -35,6 +35,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
"ignore-32bit",
"ignore-64bit",
"ignore-aarch64",
"ignore-aarch64-pc-windows-msvc",
"ignore-aarch64-unknown-linux-gnu",
"ignore-aix",
"ignore-android",
4 changes: 4 additions & 0 deletions tests/debuginfo/step-into-match.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
//@ compile-flags: -g
//@ ignore-android: FIXME(#10381)

// On Arm64 Windows, stepping at the end of a function on goes to the callsite, not the instruction
// after it.
//@ ignore-aarch64-pc-windows-msvc: Stepping out of functions behaves differently.

// === GDB TESTS ==============================================================

// gdb-command: r
2 changes: 2 additions & 0 deletions tests/debuginfo/type-names.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//@ ignore-lldb

//@ ignore-aarch64-pc-windows-msvc: Arm64 Windows cdb doesn't support JavaScript extensions.

// GDB changed the way that it formatted Foreign types
//@ min-gdb-version: 9.2

4 changes: 4 additions & 0 deletions tests/ui/runtime/backtrace-debuginfo.rs
Original file line number Diff line number Diff line change
@@ -42,9 +42,13 @@ macro_rules! dump_and_die {
// there, even on i686-pc-windows-msvc. We do the best we can in
// 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.
// 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"),
target_os = "freebsd",
target_os = "dragonfly",
target_os = "openbsd")) {