Skip to content

Commit 5abe50e

Browse files
authored
Unrolled build for #147122
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
2 parents 772f380 + b71c469 commit 5abe50e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/crashes/125772.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//@ known-bug: rust-lang/rust#125772
2-
//@ only-x86_64
2+
//@ only-64bit
33
#![feature(generic_const_exprs)]
44

55
struct Outer<const A: i64, const B: i64>();

tests/crashes/131292.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//@ known-bug: #131292
2-
//@ only-x86_64
2+
//@ needs-asm-support
33
use std::arch::asm;
44

55
unsafe fn f6() {

tests/crashes/34127.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//@ compile-flags: -g -Copt-level=0 -Z verify-llvm-ir
22
//@ known-bug: #34127
3-
//@ only-x86_64
3+
//@ only-64bit
44

55
pub fn main() {
66
let _a = [(); 1 << 63];

0 commit comments

Comments
 (0)