From bd5caab5539b943c665b7ec3501eda214853c306 Mon Sep 17 00:00:00 2001 From: WANG Rui Date: Wed, 26 Feb 2025 15:56:14 +0800 Subject: [PATCH] Skip the f16-related tests on LoongArch Skip the f16-related tests on LoongArch if there are no f16 symbols in the system libraries. --- testcrate/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/testcrate/build.rs b/testcrate/build.rs index 171c1d52..868d8700 100644 --- a/testcrate/build.rs +++ b/testcrate/build.rs @@ -75,6 +75,7 @@ fn main() { || target.arch == "powerpc" || target.arch == "powerpc64" || target.arch == "powerpc64le" + || target.arch == "loongarch64" || (target.arch == "x86" && !target.has_feature("sse")) || target.os == "windows" // Linking says "error: function signature mismatch: __extendhfsf2" and seems to