File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -82,16 +82,17 @@ A naked function that makes use of registers in a way that does not conform
8282to the specified calling convention imposes additional safety invariants on its caller,
8383and therefore must be marked as an [ unsafe function] .
8484
85- > *** Note*** : a ` naked_asm! ` invocation may refer to registers that were not specified as operands.
86- > for standard ` asm! ` this is undefined behavior, but ` naked_asm! ` may rely on the state of registers
87- > as specified by the calling convention.
88-
8985r[ attributes.codegen.naked.unused-variables]
9086The [ ` unused_variables ` ] lint is suppressed within naked functions.
9187
92- r[ attributes.codegen.naked.no-unwind]
93- Implementations may assume that naked functions never unwind.
94- Unwinding through a naked function is undefined behavior.
88+ r[ attributes.codegen.naked.inline]
89+ A naked function cannot be attributed by the [ ` inline ` ] ( #the-inline-attribute ) attribute.
90+
91+ r[ attributes.codegen.naked.track_caller]
92+ A naked function cannot be attributed by the [ ` track_caller ` ] ( #the-track_caller-attribute ) attribute.
93+
94+ r[ attributes.codegen.naked.testing]
95+ A naked function cannot be attributed by [ the testing attributes] ( ../testing.md ) .
9596
9697r[ attributes.codegen.no_builtins]
9798## The ` no_builtins ` attribute
You can’t perform that action at this time.
0 commit comments