Skip to content

Commit b8fda9f

Browse files
authored
Rollup merge of rust-lang#56749 - alexcrichton:adx, r=gnzlbg
x86: Add the `adx` target feature to whitelist Requested in rust-lang/stdarch#322 this is hopefully the first step!
2 parents 07cf472 + 78f20de commit b8fda9f

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)