File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -283,6 +283,8 @@ fn configure_f16_f128(target: &Target) {
283
283
"powerpc64" if & target. os == "aix" => ( true , false ) ,
284
284
// `f128` crashes <https://github.com/llvm/llvm-project/issues/41838>
285
285
"sparc" | "sparcv9" => ( true , false ) ,
286
+ // `f16` miscompiles <https://github.com/llvm/llvm-project/issues/96438>
287
+ "wasm32" | "wasm64" => ( false , true ) ,
286
288
// Most everything else works as of LLVM 19
287
289
_ => ( true , true ) ,
288
290
} ;
Original file line number Diff line number Diff line change @@ -54,8 +54,9 @@ fn main() {
54
54
|| target. starts_with ( "i586-" )
55
55
|| target. contains ( "windows-" )
56
56
// Linking says "error: function signature mismatch: __extendhfsf2" and seems to
57
- // think the signature is either `(i32) -> f32` or `(f32) -> f32`
58
- || target. starts_with ( "wasm32-" )
57
+ // think the signature is either `(i32) -> f32` or `(f32) -> f32`. See
58
+ // <https://github.com/llvm/llvm-project/issues/96438>.
59
+ || target. starts_with ( "wasm" )
59
60
{
60
61
features. insert ( Feature :: NoSysF16 ) ;
61
62
features. insert ( Feature :: NoSysF16F128Convert ) ;
You can’t perform that action at this time.
0 commit comments