Skip to content

Commit 3df6f36

Browse files
Ignore some mir-opt tests because GCC backend does not support unwinding from inline asm
1 parent fad2ab4 commit 3df6f36

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/mir-opt/inline/asm_unwind.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
//@ needs-asm-support
55
//@ needs-unwind
66
//@ compile-flags: -Zinline-mir-hint-threshold=1000 -C debuginfo=full
7+
//@ ignore-backends: gcc
78
#![feature(asm_unwind)]
89

910
struct D;

tests/mir-opt/inline/inline_compatibility.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Checks that only functions with compatible attributes are inlined.
22
//@ only-x86_64
33
//@ compile-flags: -Cpanic=abort
4+
//@ ignore-backends: gcc
45

56
#![crate_type = "lib"]
67
#![feature(sanitize)]

0 commit comments

Comments
 (0)