mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
Rollup merge of #155950 - folkertdev:needs-ret-mnemonic, r=chenyukang
use the new `//@ needs-asm-mnemonic: ret` more Since https://github.com/rust-lang/rust/pull/155692 we have this neat new rule, and a couple of tests should be able to use them.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//@ needs-asm-support
|
||||
//@ only-x86_64
|
||||
//@ needs-asm-mnemonic: ret
|
||||
|
||||
// tests that `va_start` is not injected into naked functions
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//@ compile-flags: -C no-prepopulate-passes -Copt-level=0
|
||||
//@ needs-asm-support
|
||||
//@ ignore-arm no "ret" mnemonic
|
||||
//@ needs-asm-mnemonic: ret
|
||||
//@ ignore-wasm32 aligning functions is not currently supported on wasm (#143368)
|
||||
|
||||
#![crate_type = "lib"]
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//@ compile-flags: -C no-prepopulate-passes -Copt-level=0 -Zmin-function-alignment=16
|
||||
//@ needs-asm-support
|
||||
//@ ignore-arm no "ret" mnemonic
|
||||
//@ needs-asm-mnemonic: ret
|
||||
//@ ignore-wasm32 aligning functions is not currently supported on wasm (#143368)
|
||||
|
||||
// FIXME(#82232, #143834): temporarily renamed to mitigate `#[align]` nameres ambiguity
|
||||
|
||||
Reference in New Issue
Block a user