Skip to content

Commit dfdcf63

Browse files
committed
Rollup merge of rust-lang#49857 - Amanieu:aarch64_fp, r=alexcrichton
Fix "fp" target feature for AArch64 This fixes the following warning on AArch64: ``` '+fp' is not a recognized feature for this target (ignoring feature) ``` Fixes rust-lang#49782
2 parents 7a70928 + 5e53746 commit dfdcf63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_trans/llvm_util.rs

+1
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ pub fn to_llvm_feature<'a>(sess: &Session, s: &'a str) -> &'a str {
134134
("x86", "pclmulqdq") => "pclmul",
135135
("x86", "rdrand") => "rdrnd",
136136
("x86", "bmi1") => "bmi",
137+
("aarch64", "fp") => "fp-armv8",
137138
("aarch64", "fp16") => "fullfp16",
138139
(_, s) => s,
139140
}

0 commit comments

Comments
 (0)