Skip to content

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

Merged
tarcieri merged 1 commit intomasterfrom
zeroize/simd-feature
May 25, 2024
Merged

zeroize: feature-gate AVX-512 under simd; MSRV 1.60#1073
tarcieri merged 1 commit intomasterfrom
zeroize/simd-feature

Conversation

@tarcieri
Copy link
Copy Markdown
Member

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.

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.
@tarcieri tarcieri merged commit 6b341bb into master May 25, 2024
@tarcieri tarcieri deleted the zeroize/simd-feature branch May 25, 2024 18:18
@tarcieri tarcieri mentioned this pull request May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant