commit 38e30632960500c626ea3c110468f4a0185e8aac (tree)
parent 683ace74724e5818bd01d8a6abb03f5991c4e27b
Author: Andrew Kelley <andrew@ziglang.org>
Date: Wed, 6 Jul 2022 02:29:54 -0700
compiler_rt: RISC-V does not want gnu_f16_abi
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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,