From 1605ab377bc2c9be97df2cfbab00e011d526e316 Mon Sep 17 00:00:00 2001 From: Ticki Date: Mon, 21 Mar 2016 21:01:08 +0100 Subject: Add support for naked functions --- src/doc/reference.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/doc/reference.md') 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 -- cgit 1.4.1-3-g733a5