diff options
| author | Nathaniel McCallum <nathaniel@congru.us> | 2021-08-07 11:17:03 -0400 |
|---|---|---|
| committer | Nathaniel McCallum <nathaniel@congru.us> | 2021-08-07 11:17:03 -0400 |
| commit | 49685377805e9c87d00aa1d8b8cece3de2dc8319 (patch) | |
| tree | 35ab73b30139256d5f034a94000906f83fa58e27 | |
| parent | ba9afb58b330058dc74171ba5cf68fce8d78d02e (diff) | |
| download | rust-49685377805e9c87d00aa1d8b8cece3de2dc8319.tar.gz rust-49685377805e9c87d00aa1d8b8cece3de2dc8319.zip | |
Fix naked function test run on non-x86_64
| -rw-r--r-- | compiler/rustc_lint_defs/src/builtin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs index 76f5f4097d9..106afa3495c 100644 --- a/compiler/rustc_lint_defs/src/builtin.rs +++ b/compiler/rustc_lint_defs/src/builtin.rs @@ -2733,7 +2733,7 @@ declare_lint! { /// #![feature(naked_functions)] /// /// #[naked] - /// pub extern "sysv64" fn f() -> u32 { + /// pub extern "C" fn f() -> u32 { /// 42 /// } /// ``` |
