mark naked as unsafe

This commit is contained in:
Intege-rs committed 2025-11-28 13:08:42 -05:00
1 parent bb8657d3a5
commit c8976debc8
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
#![no_std] #![feature(naked_functions)] #![no_std]
#[cfg(target_arch = "x86_64")] #[cfg(target_arch = "x86_64")]
mod win64 { mod win64 {
+1 -1
View File
@@ -1,4 +1,4 @@
#[no_mangle] #[naked] #[no_mangle] #[unsafe(naked)]
pub unsafe extern "C" fn __chkstk() { pub unsafe extern "C" fn __chkstk() {
core::arch::naked_asm!( core::arch::naked_asm!(
"push %rcx", "push %rcx",