We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa94a08 commit 10b0fcdCopy full SHA for 10b0fcd
crates/std_detect/src/lib.rs
@@ -24,7 +24,13 @@
24
// Remove this as soon as the stdarch submodule is updated on nightly.
25
#![allow(stable_features)]
26
#![feature(stdsimd)]
27
-#![cfg_attr(feature = "rustc-dep-of-std", feature(stdarch_x86_has_cpuid))]
+#![cfg_attr(
28
+ all(
29
+ any(target_arch = "x86", target_arch = "x86_64"),
30
+ feature = "rustc-dep-of-std"
31
+ ),
32
+ feature(stdarch_x86_has_cpuid)
33
+)]
34
35
#[cfg(test)]
36
#[macro_use]
0 commit comments