naked + variadic args partially ignores the naked #99858
Labels
A-naked
Area: `#[naked]`, prologue and epilogue-free, functions, https://git.io/vAzzS
C-bug
Category: This is a bug.
F-naked_functions
`#![feature(naked_functions)]`
I found out that if I define a
#[naked]
function that has variadic args it still emits a function prolog.I tried this code:
I expected to see this happen: asm output:
Instead, this happened: asm output
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: