Add support for naked functions
This commit is contained in:
parent
0215681744
commit
1605ab377b
3 changed files with 22 additions and 0 deletions
|
|
@ -1905,6 +1905,8 @@ type int8_t = i8;
|
|||
- `should_panic` - indicates that this test function should panic, inverting the success condition.
|
||||
- `cold` - The function is unlikely to be executed, so optimize it (and calls
|
||||
to it) differently.
|
||||
- `naked` - The function utilizes a custom ABI or custom inline ASM that requires
|
||||
epilogue and prologue to be skipped.
|
||||
|
||||
### Static-only attributes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue