diff options
| author | Ticki <Ticki@users.noreply.github.com> | 2016-03-21 21:01:08 +0100 |
|---|---|---|
| committer | Ticki <Ticki@users.noreply.github.com> | 2016-03-21 21:01:08 +0100 |
| commit | 1605ab377bc2c9be97df2cfbab00e011d526e316 (patch) | |
| tree | fa2e1a73245bd8a3ea2da7a1af6c1b68d2b362eb /src/doc/reference.md | |
| parent | 0215681744bb1156ef686ab265ed71e4d5705b64 (diff) | |
| download | rust-1605ab377bc2c9be97df2cfbab00e011d526e316.tar.gz rust-1605ab377bc2c9be97df2cfbab00e011d526e316.zip | |
Add support for naked functions
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 4c5fd31b96e..3325749d94c 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -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 |
