core_simd/
lib.rs

1#![no_std]
2#![feature(
3    const_eval_select,
4    convert_float_to_int,
5    core_intrinsics,
6    decl_macro,
7    intra_doc_pointers,
8    repr_simd,
9    simd_ffi,
10    staged_api,
11    prelude_import,
12    ptr_metadata
13)]
14#![cfg_attr(
15    all(
16        any(target_arch = "aarch64", target_arch = "arm64ec", target_arch = "arm",),
17        any(
18            all(target_feature = "v6", not(target_feature = "mclass")),
19            all(target_feature = "mclass", target_feature = "dsp"),
20        )
21    ),
22    feature(stdarch_arm_dsp)
23)]
24#![cfg_attr(
25    all(target_arch = "arm", target_feature = "v7"),
26    feature(stdarch_arm_neon_intrinsics)
27)]
28#![cfg_attr(target_arch = "loongarch64", feature(stdarch_loongarch))]
29#![cfg_attr(
30    any(target_arch = "powerpc", target_arch = "powerpc64"),
31    feature(stdarch_powerpc)
32)]
33#![cfg_attr(
34    all(target_arch = "x86_64", target_feature = "avx512f"),
35    feature(stdarch_x86_avx512)
36)]
37#![warn(missing_docs, clippy::missing_inline_in_public_items)] // basically all items, really
38#![deny(
39    unsafe_op_in_unsafe_fn,
40    unreachable_pub,
41    clippy::undocumented_unsafe_blocks
42)]
43#![doc(test(attr(deny(warnings))))]
44#![allow(internal_features, clippy::repr_packed_without_abi)]
45#![unstable(feature = "portable_simd", issue = "86656")]
46//! Portable SIMD module.
47
48#[path = "mod.rs"]
49mod core_simd;
50pub use self::core_simd::simd;