From d6be95a3bb476f66515e034d337d14cbac0ff8ed Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Thu, 11 Aug 2016 00:36:19 -0500 Subject: [PATCH] note about calling convention --- src/arm.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/arm.rs b/src/arm.rs index bcfc6c8..51206ed 100644 --- a/src/arm.rs +++ b/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]