blob: 4acb4e864593f150069b44ad50f88026478aa433 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/vendor/compiler_builtins-0.1.123/configure.rs
+++ b/vendor/compiler_builtins-0.1.123/configure.rs
@@ -72,6 +72,8 @@ pub fn configure_f16_f128(target: &Target) {
"sparc" | "sparcv9" => (true, false),
// `f16` miscompiles <https://github.com/llvm/llvm-project/issues/96438>
"wasm32" | "wasm64" => (false, true),
+ "loongarch64" => (false, true),
+ "riscv64" | "riscv64gc" => (false, true),
// Most everything else works as of LLVM 19
_ => (true, true),
};
|