mark naked as unsafe

This commit is contained in:
2025-11-28 13:08:42 -05:00
parent bb8657d3a5
commit c8976debc8
2 changed files with 2 additions and 2 deletions

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 {

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",