From 38e30632960500c626ea3c110468f4a0185e8aac Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 6 Jul 2022 02:29:54 -0700 Subject: [PATCH] compiler_rt: RISC-V does not want gnu_f16_abi --- lib/compiler_rt/common.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compiler_rt/common.zig b/lib/compiler_rt/common.zig index 538b237e5e..a75b7d1d00 100644 --- a/lib/compiler_rt/common.zig +++ b/lib/compiler_rt/common.zig @@ -36,7 +36,7 @@ pub const want_ppc_abi = builtin.cpu.arch.isPPC() or builtin.cpu.arch.isPPC64(); /// x86_64-windows-msvc => true /// any-macos-any => false pub const gnu_f16_abi = switch (builtin.cpu.arch) { - .wasm32, .wasm64 => false, + .wasm32, .wasm64, .riscv64, .riscv32 => false, .arm, .armeb, .thumb, .thumbeb => switch (builtin.abi) { .eabi, .eabihf => false,