From 101ba13a1a569998b9f9f76b501929b6654cee9a Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Sat, 22 Jun 2024 13:47:33 -0500 Subject: [PATCH] Enable `f128 -> f16` tests on Linux Since updating the docker images in , it looks like `__extendhftf2` and `__trunctfhf2` are available on all 64-bit Linux platforms. --- testcrate/build.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/testcrate/build.rs b/testcrate/build.rs index f18bd90d..12c3e7d1 100644 --- a/testcrate/build.rs +++ b/testcrate/build.rs @@ -38,12 +38,9 @@ fn main() { } if target.starts_with("i586") || target.starts_with("i686") { - // 32-bit x86 seems to not have `__fixunstfti`, but does have everything else + // 32-bit x86 does not have `__fixunstfti`/`__fixtfti` but does have everything else features.insert(Feature::NoSysF128IntConvert); - } - - if target.contains("-unknown-linux-") { - // No `__extendhftf2` on x86, no `__trunctfhf2` on aarch64 + // FIXME: 32-bit x86 has a bug in `f128 -> f16` system libraries features.insert(Feature::NoSysF16F128Convert); }