Skip to content

Commit 0becea7

Browse files
committed
Enable f16 tests on x86 Apple platforms
These were disabled because Apple uses a special ABI for `f16`. `compiler-builtins` merged a fix for this in [1], which has since propagated to rust-lang/rust. Enable tests since there should be no remaining issues on these platforms. [1]: rust-lang/compiler-builtins#675
1 parent fa724e5 commit 0becea7

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
@@ -105,9 +105,6 @@ fn main() {
105105
("arm64ec", _) => false,
106106
// MinGW ABI bugs <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115054>
107107
("x86_64", "windows") => false,
108-
// Apple has a special ABI for `f16` that we do not yet support
109-
// FIXME(builtins): fixed by <https://github.com/rust-lang/compiler-builtins/pull/675>
110-
("x86" | "x86_64", _) if target_vendor == "apple" => false,
111108
// Missing `__gnu_h2f_ieee` and `__gnu_f2h_ieee`
112109
("powerpc" | "powerpc64", _) => false,
113110
// Missing `__gnu_h2f_ieee` and `__gnu_f2h_ieee`

0 commit comments

Comments
 (0)