1
Fork 0

Apply extern "C" calling convention

Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
This commit is contained in:
Aaron Hill 2020-08-07 09:51:50 -04:00 committed by GitHub
parent 91dda2c24e
commit c34c77c764
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,6 @@ fn main() {
}
#[naked]
fn naked(x: usize, y: usize) {
extern "C" fn naked(x: usize, y: usize) {
unsafe { asm!("ret"); } // #break
}