diff options
| author | Amanieu d'Antras <amanieu@gmail.com> | 2023-10-26 18:11:28 +0100 | 
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2023-10-29 20:39:50 +0100 | 
| commit | b8ba57f310aaf3e5a02637f31735e93cb221c907 (patch) | |
| tree | af695152835d3f376d8a8ad4503db7cd9f2c3628 /library/stdarch/crates/std_detect/src | |
| parent | 941d609570675ecf4ab8566871d0d005e76c650d (diff) | |
| download | rust-b8ba57f310aaf3e5a02637f31735e93cb221c907.tar.gz rust-b8ba57f310aaf3e5a02637f31735e93cb221c907.zip | |
Cleanup last uses of the stdsimd feature
Diffstat (limited to 'library/stdarch/crates/std_detect/src')
| -rw-r--r-- | library/stdarch/crates/std_detect/src/detect/macros.rs | 2 | ||||
| -rw-r--r-- | library/stdarch/crates/std_detect/src/lib.rs | 2 | 
2 files changed, 3 insertions, 1 deletions
| 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] | 
