diff --git a/src/lib.rs b/src/lib.rs index e5e6c09..29fe1ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -#![no_std] #![feature(naked_functions)] +#![no_std] #[cfg(target_arch = "x86_64")] mod win64 { diff --git a/src/win64/misc.rs b/src/win64/misc.rs index 196e251..630f94d 100644 --- a/src/win64/misc.rs +++ b/src/win64/misc.rs @@ -1,4 +1,4 @@ -#[no_mangle] #[naked] +#[no_mangle] #[unsafe(naked)] pub unsafe extern "C" fn __chkstk() { core::arch::naked_asm!( "push %rcx",