Skip to content

Commit 38e3063

Browse files
committed
compiler_rt: RISC-V does not want gnu_f16_abi
1 parent 683ace7 commit 38e3063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/compiler_rt/common.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub const want_ppc_abi = builtin.cpu.arch.isPPC() or builtin.cpu.arch.isPPC64();
3636
/// x86_64-windows-msvc => true
3737
/// any-macos-any => false
3838
pub const gnu_f16_abi = switch (builtin.cpu.arch) {
39-
.wasm32, .wasm64 => false,
39+
.wasm32, .wasm64, .riscv64, .riscv32 => false,
4040

4141
.arm, .armeb, .thumb, .thumbeb => switch (builtin.abi) {
4242
.eabi, .eabihf => false,

0 commit comments

Comments
 (0)