From 22a972b521e641026c68be86f410fd9c852f814b Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Wed, 2 Apr 2025 19:19:43 +0000 Subject: [PATCH] Revert "Disable `f16` on AArch64 without the `neon` feature" The LLVM issue [1] was resolved and the fix was synced to rust-lang/rust in [2]. This reverts commit 5cf417a9e92bb48e4e55756a645826fd167b9f3a. [1]: https://github.com/llvm/llvm-project/issues/129394 [2]: https://github.com/rust-lang/rust/pull/138695 --- compiler-builtins/configure.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/compiler-builtins/configure.rs b/compiler-builtins/configure.rs index 2f134e57..4be0b3ca 100644 --- a/compiler-builtins/configure.rs +++ b/compiler-builtins/configure.rs @@ -91,8 +91,6 @@ pub fn configure_f16_f128(target: &Target) { let f16_enabled = match target.arch.as_str() { // Unsupported "arm64ec" => false, - // Crash in LLVM20 - "aarch64" if !target.features.iter().any(|f| f == "neon") => false, // Selection failure "s390x" => false, // Infinite recursion