$ safe_arch

v1.1.0

Crate that exposes `core::arch` safely via `#[cfg()]`.

Downloads: 59.7M
Recent: 13.2M
Versions: 24
Updated: July 19, 2026

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

Linkshttps://docs.rs/safe_archhttps://software.intel.com/sites/landingpage/IntrinsicsGuide/https://software.intel.com/sites/landingpage/IntrinsicsGuide/files/data-3.5.2.xmlhttps://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

29.6M59.7M

$ VERSION HISTORY

v1.1.0July 19, 2026
v1.0.0December 1, 2025
v0.9.3November 16, 2025
v0.9.2August 11, 2025

$ LINKS

$ INSTALL

cargo add safe_arch

Or add to Cargo.toml: safe_arch = "1.1.0"