$ safe_arch
v1.1.0Crate that exposes `core::arch` safely via `#[cfg()]`.
Latest Update Summary
Crate
Name: safe_arch New version: 1.0.0 Release date: 2025-12-01T00:36:44.757459Z
Crate readme
Short description Exposes arch-specific intrinsics as safe function.
Long description This crate provides safe access to architecture-specific intrinsics, exposing SIMD types as newtypes with appropriate trait implementations. It differentiates between functions for runtime arguments and macros for compile-time constants. The design focuses on safety without imposing high-level abstractions, which should come from other crates. Availability of functions and macros is determined at compile time based on CPU feature flags.
Features • SIMD types are newtype'd with pub fields • Safety via functions and macros for intrinsics • Compile time visibility with #[cfg()] attributes • Unopinionated middle layer for safety
Code Examples
Links • https://docs.rs/safe_arch • https://software.intel.com/sites/landingpage/IntrinsicsGuide/ • https://software.intel.com/sites/landingpage/IntrinsicsGuide/files/data-3.5.2.xml • https://software.intel.com/sites/landingpage/IntrinsicsGuide/files/ReleaseNotes.html
Release info
Release version: N/A
Release description N/A
Code Examples N/A
Minor update: 1.0.0 → 1.1.0
$ DOWNLOADS TREND
$ VERSION HISTORY
$ LINKS
$ INSTALL
cargo add safe_archOr add to Cargo.toml: safe_arch = "1.1.0"