We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
RFC states that naked functions must either not contain any “safe” blocks or be unsafe themselves. Currently, code like
#![feature(asm, naked_functions)] #[naked] extern "win64" fn naked(x: u32) -> u32 { x + 1 }
is accepted.