From 3f3aecce04fc7a826ec849a36eed8d04e1042e32 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Thu, 24 May 2018 17:50:15 +0200 Subject: [PATCH] Make SIMD tracking issue marked for `stdsimd` too https://github.com/rust-lang/rust/issues/27731 --- coresimd/mod.rs | 16 +++++++------- crates/coresimd/src/lib.rs | 2 +- crates/stdsimd/src/lib.rs | 2 +- stdsimd/arch/detect/arch/aarch64.rs | 2 +- stdsimd/arch/detect/arch/arm.rs | 2 +- stdsimd/arch/detect/arch/mips.rs | 2 +- stdsimd/arch/detect/arch/mips64.rs | 2 +- stdsimd/arch/detect/arch/powerpc.rs | 2 +- stdsimd/arch/detect/arch/powerpc64.rs | 2 +- stdsimd/arch/detect/error_macros.rs | 14 ++++++------- stdsimd/mod.rs | 30 +++++++++++++-------------- 11 files changed, 38 insertions(+), 38 deletions(-) diff --git a/coresimd/mod.rs b/coresimd/mod.rs index 5904026430..84acbf067a 100644 --- a/coresimd/mod.rs +++ b/coresimd/mod.rs @@ -11,7 +11,7 @@ mod ppsv; /// This is an **unstable** module for portable SIMD operations. This module /// has not yet gone through an RFC and is likely to change, but feedback is /// always welcome! -#[unstable(feature = "stdsimd", issue = "0")] +#[unstable(feature = "stdsimd", issue = "27731")] pub mod simd { pub use coresimd::ppsv::*; } @@ -76,7 +76,7 @@ pub mod arch { /// See the [module documentation](../index.html) for more details. #[cfg(any(target_arch = "arm", dox))] #[doc(cfg(target_arch = "arm"))] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub mod arm { pub use coresimd::arm::*; } @@ -86,7 +86,7 @@ pub mod arch { /// See the [module documentation](../index.html) for more details. #[cfg(any(target_arch = "aarch64", dox))] #[doc(cfg(target_arch = "aarch64"))] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub mod aarch64 { pub use coresimd::aarch64::*; pub use coresimd::arm::*; @@ -96,7 +96,7 @@ pub mod arch { /// /// See the [module documentation](../index.html) for more details. #[cfg(target_arch = "wasm32")] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub mod wasm32 { pub use coresimd::wasm32::*; } @@ -106,7 +106,7 @@ pub mod arch { /// See the [module documentation](../index.html) for more details. #[cfg(any(target_arch = "mips", dox))] #[doc(cfg(target_arch = "mips"))] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub mod mips { pub use coresimd::mips::*; } @@ -116,7 +116,7 @@ pub mod arch { /// See the [module documentation](../index.html) for more details. #[cfg(any(target_arch = "mips64", dox))] #[doc(cfg(target_arch = "mips64"))] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub mod mips64 { pub use coresimd::mips::*; } @@ -126,7 +126,7 @@ pub mod arch { /// See the [module documentation](../index.html) for more details. #[cfg(any(target_arch = "powerpc", dox))] #[doc(cfg(target_arch = "powerpc"))] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub mod powerpc { pub use coresimd::powerpc::*; } @@ -137,7 +137,7 @@ pub mod arch { #[cfg(target_arch = "powerpc64")] #[cfg(any(target_arch = "powerpc64", dox))] #[doc(cfg(target_arch = "powerpc64"))] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub mod powerpc64 { pub use coresimd::powerpc64::*; } diff --git a/crates/coresimd/src/lib.rs b/crates/coresimd/src/lib.rs index e8e973417e..a09495fe92 100644 --- a/crates/coresimd/src/lib.rs +++ b/crates/coresimd/src/lib.rs @@ -28,7 +28,7 @@ many_single_char_names))] #![cfg_attr(test, allow(unused_imports))] #![no_core] -#![unstable(feature = "stdsimd", issue = "0")] +#![unstable(feature = "stdsimd", issue = "27731")] #![doc(test(attr(deny(warnings))), test(attr(allow(dead_code, deprecated, unused_variables, unused_mut))))] diff --git a/crates/stdsimd/src/lib.rs b/crates/stdsimd/src/lib.rs index aa2e51ce10..abee4fcfd4 100644 --- a/crates/stdsimd/src/lib.rs +++ b/crates/stdsimd/src/lib.rs @@ -12,7 +12,7 @@ #![cfg_attr(feature = "cargo-clippy", allow(shadow_reuse))] #![cfg_attr(target_os = "linux", feature(linkage))] #![no_std] -#![unstable(feature = "stdsimd", issue = "0")] +#![unstable(feature = "stdsimd", issue = "27731")] #[macro_use] extern crate cfg_if; diff --git a/stdsimd/arch/detect/arch/aarch64.rs b/stdsimd/arch/detect/arch/aarch64.rs index 7d14fdb509..9d35fc58b1 100644 --- a/stdsimd/arch/detect/arch/aarch64.rs +++ b/stdsimd/arch/detect/arch/aarch64.rs @@ -1,7 +1,7 @@ //! Aarch64 run-time features. #[macro_export] -#[unstable(feature = "stdsimd", issue = "0")] +#[unstable(feature = "stdsimd", issue = "27731")] #[allow_internal_unstable] macro_rules! is_aarch64_feature_detected { ("neon") => { diff --git a/stdsimd/arch/detect/arch/arm.rs b/stdsimd/arch/detect/arch/arm.rs index 814eb32d86..8a5048a199 100644 --- a/stdsimd/arch/detect/arch/arm.rs +++ b/stdsimd/arch/detect/arch/arm.rs @@ -1,7 +1,7 @@ //! Run-time feature detection on ARM Aarch32. #[macro_export] -#[unstable(feature = "stdsimd", issue = "0")] +#[unstable(feature = "stdsimd", issue = "27731")] #[allow_internal_unstable] macro_rules! is_arm_feature_detected { ("neon") => { diff --git a/stdsimd/arch/detect/arch/mips.rs b/stdsimd/arch/detect/arch/mips.rs index 492f2511bb..58c9e4c16f 100644 --- a/stdsimd/arch/detect/arch/mips.rs +++ b/stdsimd/arch/detect/arch/mips.rs @@ -1,7 +1,7 @@ //! Run-time feature detection on MIPS. #[macro_export] -#[unstable(feature = "stdsimd", issue = "0")] +#[unstable(feature = "stdsimd", issue = "27731")] #[allow_internal_unstable] macro_rules! is_mips_feature_detected { ("msa") => { diff --git a/stdsimd/arch/detect/arch/mips64.rs b/stdsimd/arch/detect/arch/mips64.rs index 9599308c43..de7765927b 100644 --- a/stdsimd/arch/detect/arch/mips64.rs +++ b/stdsimd/arch/detect/arch/mips64.rs @@ -1,7 +1,7 @@ //! Run-time feature detection on MIPS64. #[macro_export] -#[unstable(feature = "stdsimd", issue = "0")] +#[unstable(feature = "stdsimd", issue = "27731")] #[allow_internal_unstable] macro_rules! is_mips64_feature_detected { ("msa") => { diff --git a/stdsimd/arch/detect/arch/powerpc.rs b/stdsimd/arch/detect/arch/powerpc.rs index 8e5db3c806..e59f4a8220 100644 --- a/stdsimd/arch/detect/arch/powerpc.rs +++ b/stdsimd/arch/detect/arch/powerpc.rs @@ -1,7 +1,7 @@ //! Run-time feature detection on PowerPC. #[macro_export] -#[unstable(feature = "stdsimd", issue = "0")] +#[unstable(feature = "stdsimd", issue = "27731")] #[allow_internal_unstable] macro_rules! is_powerpc_feature_detected { ("altivec") => { diff --git a/stdsimd/arch/detect/arch/powerpc64.rs b/stdsimd/arch/detect/arch/powerpc64.rs index 752d33e4e2..2695f6b1c8 100644 --- a/stdsimd/arch/detect/arch/powerpc64.rs +++ b/stdsimd/arch/detect/arch/powerpc64.rs @@ -1,7 +1,7 @@ //! Run-time feature detection on PowerPC64. #[macro_export] -#[unstable(feature = "stdsimd", issue = "0")] +#[unstable(feature = "stdsimd", issue = "27731")] #[allow_internal_unstable] macro_rules! is_powerpc64_feature_detected { ("altivec") => { diff --git a/stdsimd/arch/detect/error_macros.rs b/stdsimd/arch/detect/error_macros.rs index 590356bc40..0bba7b7cfe 100644 --- a/stdsimd/arch/detect/error_macros.rs +++ b/stdsimd/arch/detect/error_macros.rs @@ -4,7 +4,7 @@ #[cfg(not(any(target_arch = "x86", target_arch = "x86_64")))] #[macro_export] -#[unstable(feature = "stdsimd", issue = "0")] +#[unstable(feature = "stdsimd", issue = "27731")] macro_rules! is_x86_feature_detected { ($t: tt) => { compile_error!( @@ -23,7 +23,7 @@ macro_rules! is_x86_feature_detected { #[cfg(not(target_arch = "arm"))] #[macro_export] -#[unstable(feature = "stdsimd", issue = "0")] +#[unstable(feature = "stdsimd", issue = "27731")] macro_rules! is_arm_feature_detected { ($t: tt) => { compile_error!( @@ -42,7 +42,7 @@ macro_rules! is_arm_feature_detected { #[cfg(not(target_arch = "aarch64"))] #[macro_export] -#[unstable(feature = "stdsimd", issue = "0")] +#[unstable(feature = "stdsimd", issue = "27731")] macro_rules! is_aarch64_feature_detected { ($t: tt) => { compile_error!( @@ -61,7 +61,7 @@ macro_rules! is_aarch64_feature_detected { #[cfg(not(target_arch = "powerpc"))] #[macro_export] -#[unstable(feature = "stdsimd", issue = "0")] +#[unstable(feature = "stdsimd", issue = "27731")] macro_rules! is_powerpc_feature_detected { ($t:tt) => { compile_error!(r#" @@ -78,7 +78,7 @@ guarding it behind a cfg(target_arch) as follows: #[cfg(not(target_arch = "powerpc64"))] #[macro_export] -#[unstable(feature = "stdsimd", issue = "0")] +#[unstable(feature = "stdsimd", issue = "27731")] macro_rules! is_powerpc64_feature_detected { ($t:tt) => { compile_error!(r#" @@ -95,7 +95,7 @@ guarding it behind a cfg(target_arch) as follows: #[cfg(not(target_arch = "mips"))] #[macro_export] -#[unstable(feature = "stdsimd", issue = "0")] +#[unstable(feature = "stdsimd", issue = "27731")] macro_rules! is_mips_feature_detected { ($t: tt) => { compile_error!( @@ -114,7 +114,7 @@ macro_rules! is_mips_feature_detected { #[cfg(not(target_arch = "mips64"))] #[macro_export] -#[unstable(feature = "stdsimd", issue = "0")] +#[unstable(feature = "stdsimd", issue = "27731")] macro_rules! is_mips64_feature_detected { ($t: tt) => { compile_error!( diff --git a/stdsimd/mod.rs b/stdsimd/mod.rs index 133388fce6..9eca5b075a 100644 --- a/stdsimd/mod.rs +++ b/stdsimd/mod.rs @@ -353,35 +353,35 @@ pub mod arch { pub use coresimd::arch::x86_64; #[cfg(all(not(dox), target_arch = "arm"))] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub use coresimd::arch::arm; #[cfg(all(not(dox), target_arch = "aarch64"))] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub use coresimd::arch::aarch64; #[cfg(target_arch = "wasm32")] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub use coresimd::arch::wasm32; #[cfg(all(not(dox), target_arch = "mips"))] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub use coresimd::arch::mips; #[cfg(all(not(dox), target_arch = "mips64"))] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub use coresimd::arch::mips64; #[cfg(all(not(dox), target_arch = "powerpc"))] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub use coresimd::arch::powerpc; #[cfg(all(not(dox), target_arch = "powerpc64"))] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub use coresimd::arch::powerpc64; #[doc(hidden)] // unstable implementation detail - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub mod detect; /// Platform-specific intrinsics for the `x86` platform. @@ -417,7 +417,7 @@ pub mod arch { /// [libcore]: ../../../core/arch/arm/index.html #[cfg(dox)] #[doc(cfg(target_arch = "arm"))] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub mod arm {} /// Platform-specific intrinsics for the `aarch64` platform. @@ -429,7 +429,7 @@ pub mod arch { /// [libcore]: ../../../core/arch/aarch64/index.html #[cfg(dox)] #[doc(cfg(target_arch = "aarch64"))] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub mod aarch64 {} /// Platform-specific intrinsics for the `mips` platform. @@ -441,7 +441,7 @@ pub mod arch { /// [libcore]: ../../../core/arch/mips/index.html #[cfg(dox)] #[doc(cfg(target_arch = "mips"))] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub mod mips {} /// Platform-specific intrinsics for the `mips64` platform. @@ -453,7 +453,7 @@ pub mod arch { /// [libcore]: ../../../core/arch/mips64/index.html #[cfg(dox)] #[doc(cfg(target_arch = "mips64"))] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub mod mips64 {} /// Platform-specific intrinsics for the `powerpc` platform. @@ -465,7 +465,7 @@ pub mod arch { /// [libcore]: ../../../core/arch/powerpc/index.html #[cfg(dox)] #[doc(cfg(target_arch = "powerpc"))] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub mod powerpc {} /// Platform-specific intrinsics for the `powerpc64` platform. @@ -477,9 +477,9 @@ pub mod arch { /// [libcore]: ../../../core/arch/powerpc64/index.html #[cfg(dox)] #[doc(cfg(target_arch = "powerpc64"))] - #[unstable(feature = "stdsimd", issue = "0")] + #[unstable(feature = "stdsimd", issue = "27731")] pub mod powerpc64 {} } -#[unstable(feature = "stdsimd", issue = "0")] +#[unstable(feature = "stdsimd", issue = "27731")] pub use coresimd::simd;