We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ecd561 commit 08adbc0Copy full SHA for 08adbc0
text/2972-constrained-naked.md
@@ -21,7 +21,7 @@ A naked function has a defined calling convention and a body which contains only
21
A naked function is identified by the `#[naked]` attribute and:
22
1. should specify a calling convention besides `extern "Rust"`.
23
1. should define only FFI-safe arguments and return types.
24
-1. must not specify the `#[inline]` or `#[inline(always)]` attribute.
+1. must not specify the `#[inline]` or `#[inline(*)]` attribute.
25
1. must have a body which contains only a single `asm!()` statement which:
26
1. may be wrapped in an `unsafe` block.
27
1. must not contain any operands except `const` or `sym`.
0 commit comments