Skip to content

Commit

Permalink
Merge pull request #541 from nicholasbishop/bishop-gnuwin-or-uefi-2
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu authored Jul 21, 2023
2 parents 98881e9 + f4a2143 commit 8d36e03
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/x86_64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -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() {
Expand All @@ -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() {
Expand Down

0 comments on commit 8d36e03

Please sign in to comment.