RustCrypto / utils

Utility crates used in RustCrypto
427 stars 123 forks source link

zeroize: feature-gate AVX-512 under `simd`; MSRV 1.60 #1073

Closed tarcieri closed 2 months ago

tarcieri commented 2 months ago

Restores MSRV 1.60 by feature-gating AVX-512 support on x86(_64) targets, which is the only thing which required the previous MSRV of 1.72.

Using a generic simd name (unlike the previous aarch64 feature name) allows us to provide more feature-gated SIMD register support in the future without giving architecture-specific targets to each one, while also avoiding MSRV bumps in such cases.

When we bump overall MSRV, such support can be moved out from under the feature gate.