diff options
| author | Amanieu d'Antras <amanieu@gmail.com> | 2023-10-31 23:06:00 +0000 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2024-01-30 03:33:12 +0000 |
| commit | 9a39e41637ec102cad6e2a6282129b834c267f4a (patch) | |
| tree | b91e1d53ec11ca733c49b6590d306f6317c8ebe0 /library/std/src/lib.rs | |
| parent | f8d4b2a150eca2797feaf863618886ac8e9cc8db (diff) | |
| download | rust-9a39e41637ec102cad6e2a6282129b834c267f4a.tar.gz rust-9a39e41637ec102cad6e2a6282129b834c267f4a.zip | |
Update feature names for new stdarch
Diffstat (limited to 'library/std/src/lib.rs')
| -rw-r--r-- | library/std/src/lib.rs | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs index b5c32e18f87..91dd7eaf4e7 100644 --- a/library/std/src/lib.rs +++ b/library/std/src/lib.rs @@ -385,7 +385,6 @@ #![feature(get_many_mut)] #![feature(lazy_cell)] #![feature(log_syntax)] -#![feature(stdsimd)] #![feature(test)] #![feature(trace_macros)] // tidy-alphabetical-end @@ -624,13 +623,16 @@ pub mod arch { #[stable(feature = "simd_aarch64", since = "1.60.0")] pub use std_detect::is_aarch64_feature_detected; + #[unstable(feature = "stdarch_arm_feature_detection", issue = "111190")] + pub use std_detect::is_arm_feature_detected; + #[unstable(feature = "is_riscv_feature_detected", issue = "111192")] + pub use std_detect::is_riscv_feature_detected; #[stable(feature = "simd_x86", since = "1.27.0")] pub use std_detect::is_x86_feature_detected; - #[unstable(feature = "stdsimd", issue = "48556")] - pub use std_detect::{ - is_arm_feature_detected, is_mips64_feature_detected, is_mips_feature_detected, - is_powerpc64_feature_detected, is_powerpc_feature_detected, is_riscv_feature_detected, - }; + #[unstable(feature = "stdarch_mips_feature_detection", issue = "111188")] + pub use std_detect::{is_mips64_feature_detected, is_mips_feature_detected}; + #[unstable(feature = "stdarch_powerpc_feature_detection", issue = "111191")] + pub use std_detect::{is_powerpc64_feature_detected, is_powerpc_feature_detected}; } // This was stabilized in the crate root so we have to keep it there. |
