Enable chkstk/alloca intrinsics on i686-unknown-uefi

This commit is contained in:
Nicholas Bishop 2024-05-08 21:45:13 -04:00
parent 4781f0d75f
commit e4e03883ed

View file

@ -10,8 +10,7 @@ use core::intrinsics;
intrinsics! {
#[naked]
#[cfg(all(
windows,
target_env = "gnu",
any(all(windows, target_env = "gnu"), target_os = "uefi"),
not(feature = "no-asm")
))]
pub unsafe extern "C" fn __chkstk() {
@ -23,8 +22,7 @@ intrinsics! {
#[naked]
#[cfg(all(
windows,
target_env = "gnu",
any(all(windows, target_env = "gnu"), target_os = "uefi"),
not(feature = "no-asm")
))]
pub unsafe extern "C" fn _alloca() {