mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-29 22:53:54 +00:00
* Fix race condition in feature cache on 32 platforms If we observe that the second word is initialized, we can't really assume that the first is initialized as well. So check each word separately. * Use stronger atomic ordering Better SeqCst than sorry! * Use two caches on x64 for simplicity
stdarch - Rust's standard library SIMD components
Crates
This repository contains two main crates:
-
core_archimplementscore::arch- Rust's core library architecture-specific intrinsics, and -
std_detectimplementsstd::detect- Rust's standard library run-time CPU feature detection.
The std::simd component now lives in the
packed_simd crate.
How to do a release
To do a release of the core_arch and std_detect crates,
- bump up the version appropriately,
- comment out the
dev-dependenciesin theirCargo.tomlfiles (due to https://github.com/rust-lang/cargo/issues/4242), - publish the crates.