Make SIMD tracking issue marked for stdsimd too

https://github.com/rust-lang/rust/issues/27731
This commit is contained in:
Simon Sapin 2018-05-24 17:50:15 +02:00 committed by gnzlbg
parent 2a2f05aedd
commit 9151998404
11 changed files with 38 additions and 38 deletions

View file

@ -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::*;
}

View file

@ -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))))]

View file

@ -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;

View file

@ -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") => {

View file

@ -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") => {

View file

@ -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") => {

View file

@ -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") => {

View file

@ -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") => {

View file

@ -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") => {

View file

@ -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!(

View file

@ -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;