From bb8657d3a594a36eeea648432f49a8483710193a Mon Sep 17 00:00:00 2001 From: Intege-rs Date: Tue, 12 Nov 2024 07:08:56 -0500 Subject: [PATCH] rust... --- src/win64/misc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/win64/misc.rs b/src/win64/misc.rs index d795a9b..196e251 100644 --- a/src/win64/misc.rs +++ b/src/win64/misc.rs @@ -1,6 +1,6 @@ #[no_mangle] #[naked] pub unsafe extern "C" fn __chkstk() { - core::arch::asm!( + core::arch::naked_asm!( "push %rcx", "push %rax", "cmp $0x1000,%rax", @@ -18,6 +18,6 @@ pub unsafe extern "C" fn __chkstk() { "pop %rax", "pop %rcx", "ret", - options(noreturn, att_syntax) + options(att_syntax) ); } \ No newline at end of file