From b8ba57f310aaf3e5a02637f31735e93cb221c907 Mon Sep 17 00:00:00 2001 From: Amanieu d'Antras Date: Thu, 26 Oct 2023 18:11:28 +0100 Subject: Cleanup last uses of the stdsimd feature --- library/stdarch/crates/std_detect/src/detect/macros.rs | 2 +- library/stdarch/crates/std_detect/src/lib.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'library/stdarch/crates/std_detect/src') diff --git a/library/stdarch/crates/std_detect/src/detect/macros.rs b/library/stdarch/crates/std_detect/src/detect/macros.rs index d1bc990dd2c..5321ef2252e 100644 --- a/library/stdarch/crates/std_detect/src/detect/macros.rs +++ b/library/stdarch/crates/std_detect/src/detect/macros.rs @@ -26,7 +26,7 @@ macro_rules! features { ) => { #[macro_export] $(#[$macro_attrs])* - #[allow_internal_unstable(stdarch_internal, stdsimd)] + #[allow_internal_unstable(stdarch_internal)] #[cfg($cfg)] #[doc(cfg($cfg))] macro_rules! $macro_name { diff --git a/library/stdarch/crates/std_detect/src/lib.rs b/library/stdarch/crates/std_detect/src/lib.rs index 14359686f3c..1ff42000992 100644 --- a/library/stdarch/crates/std_detect/src/lib.rs +++ b/library/stdarch/crates/std_detect/src/lib.rs @@ -20,6 +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. +#![feature(stdsimd)] #[cfg(test)] #[macro_use] -- cgit 1.4.1-3-g733a5