diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-09-29 11:56:44 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-29 11:56:44 +1000 |
| commit | 1ef1d3bc28914fb89fd6a088e6259a689f7e3f38 (patch) | |
| tree | a818d26a030eb866e36814b64af7c148e15dbcaa | |
| parent | f74aa5aa6ff693ea782cc5c8e7f2d8f6bf1f7029 (diff) | |
| parent | b71c4690409e8ce98a502216623a9264efaaa3e4 (diff) | |
| download | rust-1ef1d3bc28914fb89fd6a088e6259a689f7e3f38.tar.gz rust-1ef1d3bc28914fb89fd6a088e6259a689f7e3f38.zip | |
Rollup merge of #147122 - Zalathar:crash-directives, r=cjgillot
Fix some crash-test directives - 120175 fails to crash for non-ELF targets; presumably this wasn't noticed because the CI jobs don't enable rustc assertions for non-ELF hosts. - 34127, 125722, and 131292 have `only-x86_64`, which is overly specific. - Unnecessary x86 directives cause friction for contributors using aarch64, especially now that many PR CI jobs also use aarch64. r? ghost
| -rw-r--r-- | tests/crashes/125772.rs | 2 | ||||
| -rw-r--r-- | tests/crashes/131292.rs | 2 | ||||
| -rw-r--r-- | tests/crashes/34127.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/crashes/125772.rs b/tests/crashes/125772.rs index 2965cfc9e7c..2b6cffd9463 100644 --- a/tests/crashes/125772.rs +++ b/tests/crashes/125772.rs @@ -1,5 +1,5 @@ //@ known-bug: rust-lang/rust#125772 -//@ only-x86_64 +//@ only-64bit #![feature(generic_const_exprs)] struct Outer<const A: i64, const B: i64>(); diff --git a/tests/crashes/131292.rs b/tests/crashes/131292.rs index 01e0eca0bd6..05b93d06b05 100644 --- a/tests/crashes/131292.rs +++ b/tests/crashes/131292.rs @@ -1,5 +1,5 @@ //@ known-bug: #131292 -//@ only-x86_64 +//@ needs-asm-support use std::arch::asm; unsafe fn f6() { diff --git a/tests/crashes/34127.rs b/tests/crashes/34127.rs index ea36b48ecba..26ebe722475 100644 --- a/tests/crashes/34127.rs +++ b/tests/crashes/34127.rs @@ -1,6 +1,6 @@ //@ compile-flags: -g -Copt-level=0 -Z verify-llvm-ir //@ known-bug: #34127 -//@ only-x86_64 +//@ only-64bit pub fn main() { let _a = [(); 1 << 63]; |
