diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2021-04-15 15:06:30 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2021-04-15 15:19:44 -0700 |
| commit | e3f0124baf711f9a749d924346b9979ca665603e (patch) | |
| tree | a411e0f353aef762a27f03fa94a63160f6cf57c1 | |
| parent | 0682c31fcee752a5530b4f45ba0e726a85654bcd (diff) | |
| download | rust-e3f0124baf711f9a749d924346b9979ca665603e.tar.gz rust-e3f0124baf711f9a749d924346b9979ca665603e.zip | |
Silence warnings
| -rw-r--r-- | crates/core_simd/src/transmute.rs | 1 | ||||
| -rw-r--r-- | crates/core_simd/tests/f32_ops.rs | 2 | ||||
| -rw-r--r-- | crates/core_simd/tests/f64_ops.rs | 2 |
3 files changed, 1 insertions, 4 deletions
diff --git a/crates/core_simd/src/transmute.rs b/crates/core_simd/src/transmute.rs index 835d863029c..b7072b334fd 100644 --- a/crates/core_simd/src/transmute.rs +++ b/crates/core_simd/src/transmute.rs @@ -1,4 +1,5 @@ /// Provides implementations of `From<$a> for $b` and `From<$b> for $a` that transmutes the value. +#[cfg(any(target_arch = "x86", target_arch = "x86_64"))] macro_rules! from_transmute { { unsafe $a:ty => $b:ty } => { from_transmute!{ @impl $a => $b } diff --git a/crates/core_simd/tests/f32_ops.rs b/crates/core_simd/tests/f32_ops.rs index 048c070a391..ac5499b7ffe 100644 --- a/crates/core_simd/tests/f32_ops.rs +++ b/crates/core_simd/tests/f32_ops.rs @@ -1,5 +1,3 @@ -#![feature(is_subnormal)] - #[macro_use] mod ops_macros; impl_float_tests! { SimdF32, f32, i32 } diff --git a/crates/core_simd/tests/f64_ops.rs b/crates/core_simd/tests/f64_ops.rs index 8f0dd6b7365..dcdb2aa3152 100644 --- a/crates/core_simd/tests/f64_ops.rs +++ b/crates/core_simd/tests/f64_ops.rs @@ -1,5 +1,3 @@ -#![feature(is_subnormal)] - #[macro_use] mod ops_macros; impl_float_tests! { SimdF64, f64, i64 } |
