summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/inline/asm_unwind.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/mir-opt/inline/asm_unwind.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/mir-opt/inline/asm_unwind.rs b/tests/mir-opt/inline/asm_unwind.rs
index c03feb433..573ae1ba6 100644
--- a/tests/mir-opt/inline/asm_unwind.rs
+++ b/tests/mir-opt/inline/asm_unwind.rs
@@ -1,7 +1,8 @@
// Tests inlining of `may_unwind` inline assembly.
//
-// ignore-wasm32-bare compiled with panic=abort by default
+// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
// needs-asm-support
+// compile-flags: -Zinline-mir-hint-threshold=1000
#![feature(asm_unwind)]
struct D;
@@ -10,7 +11,7 @@ impl Drop for D {
fn drop(&mut self) {}
}
-#[inline(always)]
+#[inline]
fn foo() {
let _d = D;
unsafe { std::arch::asm!("", options(may_unwind)) };