Skip to content

Commit

Permalink
Fix naked function test run on non-x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
npmccallum committed Aug 7, 2021
1 parent ba9afb5 commit 4968537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_lint_defs/src/builtin.rs
Expand Up @@ -2733,7 +2733,7 @@ declare_lint! {
/// #![feature(naked_functions)]
///
/// #[naked]
/// pub extern "sysv64" fn f() -> u32 {
/// pub extern "C" fn f() -> u32 {
/// 42
/// }
/// ```
Expand Down

0 comments on commit 4968537

Please sign in to comment.