Skip to content

Commit adb674c

Browse files
committed
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 123b72a + 78f20de commit adb674c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_codegen_llvm/llvm_util.rs

Lines changed: 1 addition & 0 deletions
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)