Fix naked function test run on non-x86_64
This commit is contained in:
parent
ba9afb58b3
commit
4968537780
1 changed files with 1 additions and 1 deletions
|
@ -2733,7 +2733,7 @@ declare_lint! {
|
||||||
/// #![feature(naked_functions)]
|
/// #![feature(naked_functions)]
|
||||||
///
|
///
|
||||||
/// #[naked]
|
/// #[naked]
|
||||||
/// pub extern "sysv64" fn f() -> u32 {
|
/// pub extern "C" fn f() -> u32 {
|
||||||
/// 42
|
/// 42
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue