Merge pull request #605 from nicholasbishop/bishop-i686-uefi

Enable chkstk/alloca intrinsics on i686-unknown-uefi
This commit is contained in:
Amanieu d'Antras 2024-05-09 16:28:48 +02:00 committed by GitHub
commit e30a71cc24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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() {