Auto merge of #90271 - adamgemmell:dev/feat-detect-stabilise, r=Amanieu
Stabilise `is_aarch64_feature_detected!` under `simd_aarch64` feature Initial implementation, looking for feedback on the approach here. https://github.com/rust-lang/rust/issues/86941 One point I noticed was that I haven't seen different "since" versions for the same feature - does this mean that other features can't be added to to the `simd_aarch64` feature once this is in stable? If so it might need a more specific name. r? `@Amanieu`
This commit is contained in:
@@ -546,13 +546,14 @@ pub mod arch {
|
||||
#[doc(no_inline)] // Note (#82861): required for correct documentation
|
||||
pub use core::arch::*;
|
||||
|
||||
#[stable(feature = "simd_aarch64", since = "1.60.0")]
|
||||
pub use std_detect::is_aarch64_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_aarch64_feature_detected, is_arm_feature_detected, is_mips64_feature_detected,
|
||||
is_mips_feature_detected, is_powerpc64_feature_detected, is_powerpc_feature_detected,
|
||||
is_riscv_feature_detected,
|
||||
is_arm_feature_detected, is_mips64_feature_detected, is_mips_feature_detected,
|
||||
is_powerpc64_feature_detected, is_powerpc_feature_detected, is_riscv_feature_detected,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user