Skip to content

Commit 552dad3

Browse files
authored
Rollup merge of #155950 - folkertdev:needs-ret-mnemonic, r=chenyukang
use the new `//@ needs-asm-mnemonic: ret` more Since #155692 we have this neat new rule, and a couple of tests should be able to use them.
2 parents 5fecb7b + 44b9251 commit 552dad3

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)