| #![no_std] |
| #![feature( |
| convert_float_to_int, |
| core_intrinsics, |
| decl_macro, |
| repr_simd, |
| staged_api, |
| prelude_import, |
| ptr_metadata, |
| rustc_attrs |
| )] |
| #![cfg_attr(doc, feature(intra_doc_pointers))] |
| #![cfg_attr( |
| all( |
| any(target_arch = "aarch64", target_arch = "arm64ec", target_arch = "arm",), |
| any( |
| all(target_feature = "v6", not(target_feature = "mclass")), |
| all(target_feature = "mclass", target_feature = "dsp"), |
| ) |
| ), |
| feature(stdarch_arm_dsp) |
| )] |
| #![cfg_attr( |
| all(target_arch = "arm", target_feature = "v7"), |
| feature(stdarch_arm_neon_intrinsics) |
| )] |
| #![cfg_attr(target_arch = "loongarch64", feature(stdarch_loongarch))] |
| #![cfg_attr( |
| any(target_arch = "powerpc", target_arch = "powerpc64"), |
| feature(stdarch_powerpc) |
| )] |
| #![warn(missing_docs, clippy::missing_inline_in_public_items)] // basically all items, really |
| #![deny( |
| unsafe_op_in_unsafe_fn, |
| unreachable_pub, |
| clippy::undocumented_unsafe_blocks |
| )] |
| #![doc(test(attr(deny(warnings))))] |
| #![allow(internal_features, clippy::repr_packed_without_abi)] |
| #![unstable(feature = "portable_simd", issue = "86656")] |
| //! Portable SIMD module. |
| |
| #[path = "mod.rs"] |
| mod core_simd; |
| pub use self::core_simd::simd; |