Skip to content

Commit 4968537

Browse files
committed
Fix naked function test run on non-x86_64
1 parent ba9afb5 commit 4968537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lint_defs/src/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2733,7 +2733,7 @@ declare_lint! {
27332733
/// #![feature(naked_functions)]
27342734
///
27352735
/// #[naked]
2736-
/// pub extern "sysv64" fn f() -> u32 {
2736+
/// pub extern "C" fn f() -> u32 {
27372737
/// 42
27382738
/// }
27392739
/// ```

0 commit comments

Comments
 (0)