note about calling convention

master
Jorge Aparicio 2016-08-11 00:36:19 -05:00
parent a2fc4da7a5
commit d6be95a3bb
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
use core::intrinsics;
// NOTE This function and the one below are implemented using assembly because they using a custom
// calling convention which can't be implemented using a normal Rust function
// TODO use `global_asm!`
#[naked]
#[no_mangle]