@@ -19,18 +19,18 @@ fn main() {
19
19
if target. starts_with ( "arm-" )
20
20
|| target. contains ( "apple-darwin" )
21
21
|| target. contains ( "windows-msvc" )
22
- // // GCC and LLVM disagree on the ABI of `f16` and `f128` with MinGW. See
23
- // // <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115054>.
24
- // || target.contains("windows-gnu")
22
+ // GCC and LLVM disagree on the ABI of `f16` and `f128` with MinGW. See
23
+ // <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115054>.
24
+ || target. contains ( "windows-gnu" )
25
25
// // FIXME(llvm): There is an ABI incompatibility between GCC and Clang on 32-bit x86.
26
26
// // See <https://github.com/llvm/llvm-project/issues/77401>.
27
27
// || target.starts_with("i686")
28
- // // 32-bit PowerPC and 64-bit LE gets code generated that Qemu cannot handle. See
29
- // // <https://github.com/rust-lang/compiler-builtins/pull/606#issuecomment-2105635926>.
30
- // || target.starts_with("powerpc-")
31
- // || target.starts_with("powerpc64le-")
32
- // // FIXME: We get different results from the builtin functions. See
33
- // // <https://github.com/rust-lang/compiler-builtins/pull/606#issuecomment-2105657287>.
28
+ // 32-bit PowerPC and 64-bit LE gets code generated that Qemu cannot handle. See
29
+ // <https://github.com/rust-lang/compiler-builtins/pull/606#issuecomment-2105635926>.
30
+ || target. starts_with ( "powerpc-" )
31
+ || target. starts_with ( "powerpc64le-" )
32
+ // FIXME: We get different results from the builtin functions. See
33
+ // <https://github.com/rust-lang/compiler-builtins/pull/606#issuecomment-2105657287>.
34
34
// || target.starts_with("powerpc64-")
35
35
{
36
36
features. insert ( Feature :: NoSysF128 ) ;
@@ -48,11 +48,11 @@ fn main() {
48
48
// features.insert(Feature::NoSysF16F128Convert);
49
49
// }
50
50
51
- // if target.starts_with("wasm32-") {
52
- // // Linking says "error: function signature mismatch: __extendhfsf2" and seems to
53
- // // think the signature is either `(i32) -> f32` or `(f32) -> f32`
54
- // features.insert(Feature::NoSysF16);
55
- // }
51
+ if target. starts_with ( "wasm32-" ) {
52
+ // Linking says "error: function signature mismatch: __extendhfsf2" and seems to
53
+ // think the signature is either `(i32) -> f32` or `(f32) -> f32`
54
+ features. insert ( Feature :: NoSysF16 ) ;
55
+ }
56
56
57
57
for feature in features {
58
58
let ( name, warning) = match feature {
0 commit comments