Merge pull request #541 from nicholasbishop/bishop-gnuwin-or-uefi-2

This commit is contained in:
Amanieu d'Antras 2023-07-21 14:28:14 +01:00 committed by GitHub
commit 66b4ff526f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,8 +11,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_ms() {
@ -40,8 +39,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() {
@ -54,8 +52,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 ___chkstk() {