Преглед на файлове

note about calling convention

Jorge Aparicio преди 8 години
родител
ревизия
d6be95a3bb
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      src/arm.rs

+ 2 - 0
src/arm.rs

@@ -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]