We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
stdsimd
1 parent 5f94a7d commit 1ee5288Copy full SHA for 1ee5288
crates/std_detect/src/lib.rs
@@ -20,15 +20,8 @@
20
#![cfg_attr(test, allow(unused_imports))]
21
#![no_std]
22
#![allow(internal_features)]
23
-// Temporary hack: needed to build against toolchains from before the mass feature renaming.
24
-// Remove this as soon as the stdarch submodule is updated on nightly.
25
-#![allow(stable_features)]
26
-#![cfg_attr(not(feature = "rustc-dep-of-std"), feature(stdsimd))]
27
#![cfg_attr(
28
- all(
29
- any(target_arch = "x86", target_arch = "x86_64"),
30
- feature = "rustc-dep-of-std"
31
- ),
+ any(target_arch = "x86", target_arch = "x86_64"),
32
feature(stdarch_x86_has_cpuid)
33
)]
34
0 commit comments