authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-06-16 07:25:50+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-06-16 13:46:23+02:00
log5f7780c533411c6272fb3ce3875b7843cc2287e4
tree5a1c82f608774ea650acd9b2dfa812cb47927d6b
parent1ca213dab02db42c63a6b7e191044c0124f9bfb2

compiler-rt: Export _fltused for UEFI.

Closes #24148.

1 files changed, 2 insertions(+), 1 deletions(-)

lib/compiler_rt.zig+2-1
......@@ -265,7 +265,8 @@ comptime {
265265 _ = @import("compiler_rt/ssp.zig");
266266 }
267267
268 if (!builtin.link_libc and builtin.os.tag == .windows and (builtin.abi == .none or builtin.abi == .msvc)) {
268 // Temporarily used for uefi until https://github.com/ziglang/zig/issues/21630 is addressed.
269 if (!builtin.link_libc and (builtin.os.tag == .windows or builtin.os.tag == .uefi) and (builtin.abi == .none or builtin.abi == .msvc)) {
269270 @export(&_fltused, .{ .name = "_fltused", .linkage = common.linkage, .visibility = common.visibility });
270271 }
271272}