Align stack on x86_64

This commit is contained in:
Jeremy Soller
2018-07-03 11:31:05 -06:00
parent 6a0928edfd
commit 7e6e1b164c
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -15,6 +15,7 @@ use platform::types::*;
pub unsafe extern "C" fn _start() {
#[cfg(target_arch = "x86_64")]
asm!("mov rdi, rsp
and rsp, 0xFFFFFFFFFFFFFFF0
call _start_rust"
:
: