mirror of
https://git.intege.rs/xlib/xrt.git
synced 2025-12-05 21:35:02 +00:00
mark naked as unsafe
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#![no_std] #![feature(naked_functions)]
|
||||
#![no_std]
|
||||
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
mod win64 {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#[no_mangle] #[naked]
|
||||
#[no_mangle] #[unsafe(naked)]
|
||||
pub unsafe extern "C" fn __chkstk() {
|
||||
core::arch::naked_asm!(
|
||||
"push %rcx",
|
||||
|
||||
Reference in New Issue
Block a user