Skip to content

Commit eafbb43

Browse files
committed
refine tests
1 parent 4f59a1d commit eafbb43

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

testcrate/build.rs

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ fn main() {
2222
// GCC and LLVM disagree on the ABI of `f16` and `f128` with MinGW. See
2323
// <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115054>.
2424
|| target.contains("windows-gnu")
25-
// // FIXME(llvm): There is an ABI incompatibility between GCC and Clang on 32-bit x86.
26-
// // See <https://github.com/llvm/llvm-project/issues/77401>.
27-
// || target.starts_with("i686")
25+
// // FIXME(llvm): There is an ABI incompatibility between GCC and Clang on 32-bit x86.
26+
// // See <https://github.com/llvm/llvm-project/issues/77401>.
27+
// || target.starts_with("i686")
2828
// 32-bit PowerPC and 64-bit LE gets code generated that Qemu cannot handle. See
2929
// <https://github.com/rust-lang/compiler-builtins/pull/606#issuecomment-2105635926>.
3030
|| target.starts_with("powerpc-")
3131
|| 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-
// || target.starts_with("powerpc64-")
32+
// FIXME: We get different results from the builtin functions. See
33+
// <https://github.com/rust-lang/compiler-builtins/pull/606#issuecomment-2105657287>.
34+
|| target.starts_with("powerpc64-")
3535
{
3636
features.insert(Feature::NoSysF128);
3737
features.insert(Feature::NoSysF128IntConvert);
@@ -43,11 +43,6 @@ fn main() {
4343
features.insert(Feature::NoSysF128IntConvert);
4444
}
4545

46-
// if target.contains("-unknown-linux-") {
47-
// // No `__extendhftf2` on x86, no `__trunctfhf2` on aarch64
48-
// features.insert(Feature::NoSysF16F128Convert);
49-
// }
50-
5146
if target.starts_with("wasm32-") {
5247
// Linking says "error: function signature mismatch: __extendhfsf2" and seems to
5348
// think the signature is either `(i32) -> f32` or `(f32) -> f32`

0 commit comments

Comments
 (0)