Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 67535b6

Browse files
author
Martin Nordholts
committedJul 3, 2024
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",
1 parent 2a65e9f commit 67535b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎std/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ fn main() {
9999
// the compiler-builtins update. <https://github.com/rust-lang/rust/issues/123885>
100100
("x86" | "x86_64", _) => false,
101101
// Missing `__gnu_h2f_ieee` and `__gnu_f2h_ieee`
102-
("powerpc" | "powerpc64" | "powerpc64le", _) => false,
102+
("powerpc" | "powerpc64", _) => false,
103103
// Missing `__extendhfsf` and `__truncsfhf`
104104
("riscv32" | "riscv64", _) => false,
105105
// Most OSs are missing `__extendhfsf` and `__truncsfhf`

0 commit comments

Comments
 (0)
Failed to load comments.