Skip to content

Commit c34c77c

Browse files
Aaron1011Amanieu
andauthored
Apply extern "C" calling convention
Co-authored-by: Amanieu d'Antras <[email protected]>
1 parent 91dda2c commit c34c77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/debuginfo/function-arguments-naked.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ fn main() {
3737
}
3838

3939
#[naked]
40-
fn naked(x: usize, y: usize) {
40+
extern "C" fn naked(x: usize, y: usize) {
4141
unsafe { asm!("ret"); } // #break
4242
}

0 commit comments

Comments
 (0)