Add support for naked functions

This commit is contained in:
Ticki 2016-03-21 21:01:08 +01:00
parent 0215681744
commit 1605ab377b
3 changed files with 22 additions and 0 deletions

View file

@ -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