Skip to content

Commit 3bd9d62

Browse files
committed
aarch64 is not whitelisted for ARM features
1 parent 6c0d50f commit 3bd9d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_trans/llvm_util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ pub fn target_features(sess: &Session) -> Vec<Symbol> {
8989
let target_machine = create_target_machine(sess);
9090

9191
let whitelist = match &*sess.target.target.arch {
92-
"arm" => ARM_WHITELIST,
92+
"arm" | "aarch64" => ARM_WHITELIST,
9393
"x86" | "x86_64" => X86_WHITELIST,
9494
"hexagon" => HEXAGON_WHITELIST,
9595
"powerpc" | "powerpc64" => POWERPC_WHITELIST,

0 commit comments

Comments
 (0)