Skip to content

Commit 44b9251

Browse files
committed
use the new //@ needs-asm-mnemonic: ret more
1 parent 37d85e5 commit 44b9251

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/codegen-llvm/cffi/c-variadic-naked.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//@ needs-asm-support
2-
//@ only-x86_64
2+
//@ needs-asm-mnemonic: ret
33

44
// tests that `va_start` is not injected into naked functions
55

tests/codegen-llvm/naked-fn/aligned.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//@ compile-flags: -C no-prepopulate-passes -Copt-level=0
22
//@ needs-asm-support
3-
//@ ignore-arm no "ret" mnemonic
3+
//@ needs-asm-mnemonic: ret
44
//@ ignore-wasm32 aligning functions is not currently supported on wasm (#143368)
55

66
#![crate_type = "lib"]

tests/codegen-llvm/naked-fn/min-function-alignment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//@ compile-flags: -C no-prepopulate-passes -Copt-level=0 -Zmin-function-alignment=16
22
//@ needs-asm-support
3-
//@ ignore-arm no "ret" mnemonic
3+
//@ needs-asm-mnemonic: ret
44
//@ ignore-wasm32 aligning functions is not currently supported on wasm (#143368)
55

66
// FIXME(#82232, #143834): temporarily renamed to mitigate `#[align]` nameres ambiguity

0 commit comments

Comments
 (0)