Skip to content

Commit 8488b61

Browse files
committed
cg_llvm: Add Arch::AArch64 match arm for reliable f128 target cfg
1 parent 2eb3996 commit 8488b61

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compiler/rustc_codegen_llvm/src/llvm_util.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,9 @@ fn update_target_reliable_float_cfg(sess: &Session, cfg: &mut TargetConfig) {
399399
};
400400

401401
cfg.has_reliable_f128 = match (target_arch, target_os) {
402+
// FIXME: Caused CI failures while trying to implement https://github.com/rust-lang/rust/pull/152512,
403+
// no "upstream" issue to currently link to
404+
(Arch::AArch64, _) if !cfg.target_features.iter().any(|f| f.as_str() == "neon") => false,
402405
// Unsupported https://github.com/llvm/llvm-project/issues/121122
403406
(Arch::AmdGpu, _) => false,
404407
// Unsupported <https://github.com/llvm/llvm-project/issues/94434>

0 commit comments

Comments
 (0)