Skip to content

Commit 0ea345a

Browse files
authored
Rollup merge of #139276 - tgross35:enable-f16-without-neon, r=Mark-Simulacrum
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]: #138695 try-job: aarch64-gnu try-job: aarch64-gnu-debug try-job: armhf-gnu try-job: dist-various-1
2 parents 2722e82 + 4a8d357 commit 0ea345a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

library/std/build.rs

-7
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)