From fa87c41d7b3967907c117c3d95d2817744b73b06 Mon Sep 17 00:00:00 2001 From: daxpedda Date: Tue, 6 Feb 2024 11:14:25 +0100 Subject: [PATCH] Remove last mention of `stdsimd` --- crates/std_detect/src/lib.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/crates/std_detect/src/lib.rs b/crates/std_detect/src/lib.rs index 19cc021712..846b17b01d 100644 --- a/crates/std_detect/src/lib.rs +++ b/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) )]