about summary refs log tree commit diff
path: root/library/stdarch/crates/std_detect
diff options
context:
space:
mode:
Diffstat (limited to 'library/stdarch/crates/std_detect')
-rw-r--r--library/stdarch/crates/std_detect/src/lib.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/library/stdarch/crates/std_detect/src/lib.rs b/library/stdarch/crates/std_detect/src/lib.rs
index 19cc021712e..846b17b01d5 100644
--- a/library/stdarch/crates/std_detect/src/lib.rs
+++ b/library/stdarch/crates/std_detect/src/lib.rs
@@ -20,15 +20,8 @@
 #![cfg_attr(test, allow(unused_imports))]
 #![no_std]
 #![allow(internal_features)]
-// Temporary hack: needed to build against toolchains from before the mass feature renaming.
-// Remove this as soon as the stdarch submodule is updated on nightly.
-#![allow(stable_features)]
-#![cfg_attr(not(feature = "rustc-dep-of-std"), feature(stdsimd))]
 #![cfg_attr(
-    all(
-        any(target_arch = "x86", target_arch = "x86_64"),
-        feature = "rustc-dep-of-std"
-    ),
+    any(target_arch = "x86", target_arch = "x86_64"),
     feature(stdarch_x86_has_cpuid)
 )]