Skip to content

Commit 78f20de

Browse files
committed
x86: Add the adx target feature to whitelist
Requested in rust-lang/stdarch#322 this is hopefully the first step!
1 parent bd47d68 commit 78f20de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_codegen_llvm/llvm_util.rs

+1
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ const AARCH64_WHITELIST: &[(&str, Option<&str>)] = &[
124124
];
125125

126126
const X86_WHITELIST: &[(&str, Option<&str>)] = &[
127+
("adx", Some("adx_target_feature")),
127128
("aes", None),
128129
("avx", None),
129130
("avx2", None),

0 commit comments

Comments
 (0)