1#![doc = include_str!("../README.md")]
2#![deny(missing_copy_implementations, missing_debug_implementations)]
3#![deny(rustdoc::broken_intra_doc_links)]
4#![deny(clippy::cast_possible_truncation)]
5#![warn(missing_docs)]
6
7#![allow(private_bounds)]
9
10#![allow(unreachable_code)]
13
14#![allow(clippy::missing_transmute_annotations)]
15
16#![cfg_attr(not(feature = "std"), no_std)]
17
18#![cfg_attr(all(doc, CHANNEL_NIGHTLY), feature(doc_auto_cfg))]
23
24#[cfg(not(any(target_arch = "x86", target_arch = "x86_64")))]
25core::compile_error!("The x86-simd crate only supports x86 and x86_64 architectures");
26
27pub const unsafe fn unreachable_uncheched_on_release() -> ! {
35 #[cfg(debug_assertions)]
36 core::unreachable!();
37
38 #[cfg(not(debug_assertions))]
39 core::hint::unreachable_unchecked()
40}
41
42mod sealed;
43
44pub mod integers;