authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-10-30 18:42:59-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-10-30 18:42:59-07:00
log3e126102b7313026ff94f314053c3fa3f791ce75
tree5c612b3e165a25187949ecd888c25b32b847f37e
parent30b8b29f88362d18ea6523a859b29f7bc6dec622

compiler_rt: fix gnu_f16_abi for i386-windows

closes #13333

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

lib/compiler_rt/common.zig+2-1
...@@ -45,10 +45,11 @@ pub const gnu_f16_abi = switch (builtin.cpu.arch) {...@@ -45,10 +45,11 @@ pub const gnu_f16_abi = switch (builtin.cpu.arch) {
45 .wasm64,45 .wasm64,
46 .riscv64,46 .riscv64,
47 .riscv32,47 .riscv32,
48 .i386,
49 .x86_64,48 .x86_64,
50 => false,49 => false,
5150
51 .i386 => true,
52
52 .arm, .armeb, .thumb, .thumbeb => switch (builtin.abi) {53 .arm, .armeb, .thumb, .thumbeb => switch (builtin.abi) {
53 .eabi, .eabihf => false,54 .eabi, .eabihf => false,
54 else => true,55 else => true,