Skip to content

Commit d3608cf

Browse files
committed
Fix some crash-test directives
1 parent c7f6aa2 commit d3608cf

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

tests/crashes/120175.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//@ known-bug: #120175
22
//@ needs-rustc-debug-assertions
3+
//@ only-elf
34

45
#![feature(extern_types)]
56
#![feature(raw_dylib_elf)]

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)