diff options
| author | Chris Denton <christophersdenton@gmail.com> | 2025-04-12 21:05:28 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-12 21:05:28 +0000 |
| commit | 0ea345a3c32b8fc00be5c1805b086bdc93231d60 (patch) | |
| tree | 4c26ea5687898f948e5e94d4a3f85b7c19aad816 | |
| parent | 2722e8265355d3fc0bf764f9159b5cdb9b8e97a0 (diff) | |
| parent | 4a8d35709e301d983412b42b26dad6eb5c869951 (diff) | |
| download | rust-0ea345a3c32b8fc00be5c1805b086bdc93231d60.tar.gz rust-0ea345a3c32b8fc00be5c1805b086bdc93231d60.zip | |
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 c51b229140c885cac757a405a328a07e90d5bca9. [1]: https://github.com/llvm/llvm-project/issues/129394 [2]: https://github.com/rust-lang/rust/pull/138695 try-job: aarch64-gnu try-job: aarch64-gnu-debug try-job: armhf-gnu try-job: dist-various-1
| -rw-r--r-- | library/std/build.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/library/std/build.rs b/library/std/build.rs index d76d07a89f4..40a56d4930d 100644 --- a/library/std/build.rs +++ b/library/std/build.rs @@ -12,11 +12,6 @@ fn main() { .expect("CARGO_CFG_TARGET_POINTER_WIDTH was not set") .parse() .unwrap(); - let target_features: Vec<_> = env::var("CARGO_CFG_TARGET_FEATURE") - .unwrap_or_default() - .split(",") - .map(ToOwned::to_owned) - .collect(); let is_miri = env::var_os("CARGO_CFG_MIRI").is_some(); println!("cargo:rustc-check-cfg=cfg(netbsd10)"); @@ -108,8 +103,6 @@ fn main() { ("s390x", _) => false, // Unsupported <https://github.com/llvm/llvm-project/issues/94434> ("arm64ec", _) => false, - // LLVM crash <https://github.com/llvm/llvm-project/issues/129394> - ("aarch64", _) if !target_features.iter().any(|f| f == "neon") => false, // MinGW ABI bugs <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115054> ("x86_64", "windows") if target_env == "gnu" && target_abi != "llvm" => false, // Infinite recursion <https://github.com/llvm/llvm-project/issues/97981> |
