diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-05-29 15:32:32 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-05-29 15:35:35 +0200 |
| commit | 358ee859bae5baa87bcff1fabfde87fe2aa1ab52 (patch) | |
| tree | 6b1038f1d0e119004b7275988fa0d0e3e8db0ffd /lib/compiler_rt.zig | |
| parent | 7cae6b8fa78a75b62c5e2a69afda95b3c3824a5b (diff) | |
| download | zig-358ee859bae5baa87bcff1fabfde87fe2aa1ab52.tar.gz zig-358ee859bae5baa87bcff1fabfde87fe2aa1ab52.zip | |
compiler-rt: Fix some exports for *-windows-none.
Diffstat (limited to 'lib/compiler_rt.zig')
| -rw-r--r-- | lib/compiler_rt.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler_rt.zig b/lib/compiler_rt.zig index c8da59eb5f..e8fd982f55 100644 --- a/lib/compiler_rt.zig +++ b/lib/compiler_rt.zig @@ -260,7 +260,7 @@ comptime { _ = @import("compiler_rt/ssp.zig"); } - if (!builtin.link_libc and builtin.abi == .msvc) { + if (!builtin.link_libc and builtin.os.tag == .windows and (builtin.abi == .none or builtin.abi == .msvc)) { @export(&_fltused, .{ .name = "_fltused", .linkage = common.linkage, .visibility = common.visibility }); } } |
