1 An unsupported naked function definition.
3 Erroneous code example:
6 #![feature(naked_functions)]
9 pub extern "C" fn f() -> u32 {
14 The naked functions must be defined using a single inline assembly
17 The execution must never fall through past the end of the assembly
18 code so the block must use `noreturn` option. The asm block can also
19 use `att_syntax` and `raw` options, but others options are not allowed.
21 The asm block must not contain any operands other than `const` and
24 ### Additional information
26 For more information, please see [RFC 2972].
28 [RFC 2972]: https://github.com/rust-lang/rfcs/blob/master/text/2972-constrained-naked.md