| author | |
| committer | |
| log | 35da1e1e8ffe5201bfe3ff1f5a9a40b73121916c |
| tree | 575e18c54b758fc97f2e5e1cc9c39793997fe31d |
| parent | 05a877a9a11c401c42d6c0935641a010394f3fb5 |
| signature |
libc provides these when targeting MSVC.2 files changed, 2 insertions(+), 2 deletions(-)
lib/compiler_rt/aulldiv.zig+1-1| ... | ... | @@ -8,7 +8,7 @@ const common = @import("common.zig"); |
| 8 | 8 | pub const panic = common.panic; |
| 9 | 9 | |
| 10 | 10 | comptime { |
| 11 | if (arch == .x86 and os == .windows and (abi == .msvc or abi == .itanium) and builtin.zig_backend != .stage2_c) { | |
| 11 | if (arch == .x86 and os == .windows and (abi == .msvc or abi == .itanium) and !builtin.link_libc) { | |
| 12 | 12 | // Don't let LLVM apply the stdcall name mangling on those MSVC builtins |
| 13 | 13 | @export(&_alldiv, .{ .name = "\x01__alldiv", .linkage = common.linkage, .visibility = common.visibility }); |
| 14 | 14 | @export(&_aulldiv, .{ .name = "\x01__aulldiv", .linkage = common.linkage, .visibility = common.visibility }); |
lib/compiler_rt/aullrem.zig+1-1| ... | ... | @@ -8,7 +8,7 @@ const common = @import("common.zig"); |
| 8 | 8 | pub const panic = common.panic; |
| 9 | 9 | |
| 10 | 10 | comptime { |
| 11 | if (arch == .x86 and os == .windows and (abi == .msvc or abi == .itanium) and builtin.zig_backend != .stage2_c) { | |
| 11 | if (arch == .x86 and os == .windows and (abi == .msvc or abi == .itanium) and !builtin.link_libc) { | |
| 12 | 12 | // Don't let LLVM apply the stdcall name mangling on those MSVC builtins |
| 13 | 13 | @export(&_allrem, .{ .name = "\x01__allrem", .linkage = common.linkage, .visibility = common.visibility }); |
| 14 | 14 | @export(&_aullrem, .{ .name = "\x01__aullrem", .linkage = common.linkage, .visibility = common.visibility }); |