From 67535b62417c49d70b23821454dbae2437f91293 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Wed, 3 Jul 2024 13:44:02 +0200 Subject: [PATCH] library/std/build.rs: "powerpc64le" is not a target_arch The target_arch of `powerpc64le` is `powerpc64`, so `powerpc64le` can be removed from a match arm in build.rs related to f16. You can check available `target_arch`:s with: $ rustc +nightly -Zunstable-options --print all-target-specs-json \ | grep powerpc | grep arch | sort | uniq "arch": "powerpc", "arch": "powerpc64", --- std/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/build.rs b/std/build.rs index 55388648a14b9..eaffad5b1313a 100644 --- a/std/build.rs +++ b/std/build.rs @@ -99,7 +99,7 @@ fn main() { // the compiler-builtins update. ("x86" | "x86_64", _) => false, // Missing `__gnu_h2f_ieee` and `__gnu_f2h_ieee` - ("powerpc" | "powerpc64" | "powerpc64le", _) => false, + ("powerpc" | "powerpc64", _) => false, // Missing `__extendhfsf` and `__truncsfhf` ("riscv32" | "riscv64", _) => false, // Most OSs are missing `__extendhfsf` and `__truncsfhf`