Skip to content

Commit 30641f0

Browse files
committed
Enable f16 tests on loongarch
Loongarch previously had a selection failure for `f16` math [1]. This was fixed in [2], which Rust got with the update to LLVM 19 [3]. Enable loongarch in `std/build.rs` so we start running tests. [1]: llvm/llvm-project#93894 [2]: llvm/llvm-project#94456 [3]: rust-lang#127513
1 parent a32d4a0 commit 30641f0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

library/std/build.rs

-3
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,6 @@ fn main() {
9494
let has_reliable_f16 = match (target_arch.as_str(), target_os.as_str()) {
9595
// We can always enable these in Miri as that is not affected by codegen bugs.
9696
_ if is_miri => true,
97-
// Selection failure until recent LLVM <https://github.com/llvm/llvm-project/issues/93894>
98-
// FIXME(llvm19): can probably be removed at the version bump
99-
("loongarch64", _) => false,
10097
// Selection failure <https://github.com/llvm/llvm-project/issues/50374>
10198
("s390x", _) => false,
10299
// Unsupported <https://github.com/llvm/llvm-project/issues/94434>

0 commit comments

Comments
 (0)