Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 66f0a25

Browse files
committed
Auto merge of rust-lang#139276 - tgross35:enable-f16-without-neon, r=<try>
Revert "Disable `f16` on Aarch64 without `neon`" The LLVM issue [1] was resolved and the fix was synced to rust-lang/rust in [2]. This reverts commit c51b229. [1]: llvm/llvm-project#129394 [2]: rust-lang#138695 try-job: aarch64-gnu try-job: aarch64-gnu-debug try-job: armhf-gnu try-job: dist-various-1
2 parents 71b68da + 4a8d357 commit 66f0a25

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

library/std/build.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ fn main() {
1212
.expect("CARGO_CFG_TARGET_POINTER_WIDTH was not set")
1313
.parse()
1414
.unwrap();
15-
let target_features: Vec<_> = env::var("CARGO_CFG_TARGET_FEATURE")
16-
.unwrap_or_default()
17-
.split(",")
18-
.map(ToOwned::to_owned)
19-
.collect();
2015
let is_miri = env::var_os("CARGO_CFG_MIRI").is_some();
2116

2217
println!("cargo:rustc-check-cfg=cfg(netbsd10)");
@@ -108,8 +103,6 @@ fn main() {
108103
("s390x", _) => false,
109104
// Unsupported <https://github.com/llvm/llvm-project/issues/94434>
110105
("arm64ec", _) => false,
111-
// LLVM crash <https://github.com/llvm/llvm-project/issues/129394>
112-
("aarch64", _) if !target_features.iter().any(|f| f == "neon") => false,
113106
// MinGW ABI bugs <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115054>
114107
("x86_64", "windows") if target_env == "gnu" && target_abi != "llvm" => false,
115108
// Infinite recursion <https://github.com/llvm/llvm-project/issues/97981>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy