mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-27 15:06:50 +00:00
stabilize naked_functions
This commit is contained in:
@@ -3,8 +3,6 @@ An unsupported naked function definition.
|
||||
Erroneous code example:
|
||||
|
||||
```compile_fail,E0787
|
||||
#![feature(naked_functions)]
|
||||
|
||||
#[unsafe(naked)]
|
||||
pub extern "C" fn f() -> u32 {
|
||||
42
|
||||
|
||||
Reference in New Issue
Block a user