disable portable SIMD tests in Miri
This commit is contained in:
parent
1b12d01903
commit
60595f7bde
@ -402,11 +402,13 @@ pub mod arch {
|
|||||||
#[allow(missing_debug_implementations, dead_code, unsafe_op_in_unsafe_fn, unused_unsafe)]
|
#[allow(missing_debug_implementations, dead_code, unsafe_op_in_unsafe_fn, unused_unsafe)]
|
||||||
#[allow(rustdoc::bare_urls)]
|
#[allow(rustdoc::bare_urls)]
|
||||||
#[unstable(feature = "portable_simd", issue = "86656")]
|
#[unstable(feature = "portable_simd", issue = "86656")]
|
||||||
|
#[cfg(not(all(miri, doctest)))] // Miri does not support all SIMD intrinsics
|
||||||
#[cfg(not(bootstrap))]
|
#[cfg(not(bootstrap))]
|
||||||
mod core_simd;
|
mod core_simd;
|
||||||
|
|
||||||
#[doc = include_str!("../../portable-simd/crates/core_simd/src/core_simd_docs.md")]
|
#[doc = include_str!("../../portable-simd/crates/core_simd/src/core_simd_docs.md")]
|
||||||
#[unstable(feature = "portable_simd", issue = "86656")]
|
#[unstable(feature = "portable_simd", issue = "86656")]
|
||||||
|
#[cfg(not(all(miri, doctest)))] // Miri does not support all SIMD intrinsics
|
||||||
#[cfg(not(bootstrap))]
|
#[cfg(not(bootstrap))]
|
||||||
pub mod simd {
|
pub mod simd {
|
||||||
#[unstable(feature = "portable_simd", issue = "86656")]
|
#[unstable(feature = "portable_simd", issue = "86656")]
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#![cfg(not(miri))] // Miri does not support all SIMD intrinsics
|
||||||
|
|
||||||
use core::simd::f32x4;
|
use core::simd::f32x4;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user