Skip to content

Commit

Permalink
compiler-rt: Use Windows Arm ABI routines for UEFI for now.
Browse files Browse the repository at this point in the history
Until #21630 is addressed.

Closes #22893.
  • Loading branch information
alexrp committed Feb 16, 2025
1 parent 9ad5751 commit ddff1fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/compiler_rt/common.zig
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ pub const want_aeabi = switch (builtin.abi) {
};

/// These functions are provided by libc when targeting MSVC, but not MinGW.
pub const want_windows_arm_abi = builtin.cpu.arch.isArm() and builtin.os.tag == .windows and (builtin.abi.isGnu() or !builtin.link_libc);
// Temporarily used for thumb-uefi until https://github.com/ziglang/zig/issues/21630 is addressed.
pub const want_windows_arm_abi = builtin.cpu.arch.isArm() and (builtin.os.tag == .windows or builtin.os.tag == .uefi) and (builtin.abi.isGnu() or !builtin.link_libc);

pub const want_ppc_abi = builtin.cpu.arch.isPowerPC();

Expand Down

0 comments on commit ddff1fa

Please sign in to comment.