Skip to content

Commit f717f44

Browse files
tgross35cuviper
andauthored
fixup! 950b096
Co-authored-by: Josh Stone <cuviper@gmail.com>
1 parent 950b096 commit f717f44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_llvm/src/llvm_util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ fn update_target_reliable_float_cfg(sess: &Session, cfg: &mut TargetConfig) {
377377
("s390x", _) => false,
378378
// LLVM crash without neon <https://github.com/llvm/llvm-project/issues/129394> (now fixed)
379379
("aarch64", _)
380-
if !sess.target_features.iter().any(|f| f.as_str() == "neon")
380+
if !cfg.target_features.iter().any(|f| f.as_str() == "neon")
381381
&& version < (20, 1, 1) =>
382382
{
383383
false

0 commit comments

Comments
 (0)