Skip to content

Commit 4f59a1d

Browse files
committed
refine tests
1 parent 950720a commit 4f59a1d

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

testcrate/build.rs

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@ fn main() {
1919
if target.starts_with("arm-")
2020
|| target.contains("apple-darwin")
2121
|| 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")
2525
// // FIXME(llvm): There is an ABI incompatibility between GCC and Clang on 32-bit x86.
2626
// // See <https://github.com/llvm/llvm-project/issues/77401>.
2727
// || 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>.
3434
// || target.starts_with("powerpc64-")
3535
{
3636
features.insert(Feature::NoSysF128);
@@ -48,11 +48,11 @@ fn main() {
4848
// features.insert(Feature::NoSysF16F128Convert);
4949
// }
5050

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+
}
5656

5757
for feature in features {
5858
let (name, warning) = match feature {

0 commit comments

Comments
 (0)