Skip to content

Commit 1261e29

Browse files
authored
zeroize: note aarch64 crate feature works on stable (#797)
The required APIs are stable as of Rust 1.59. Unfortunately we can't yet enable it by default as the overall crate's MSRV is 1.51. It will be possible if we bump MSRV to >=1.59. This commit also adjusts the CI job to test the `aarch64` feature works on `1.59.0` and `stable` compilers.
1 parent f58e39e commit 1261e29

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/zeroize.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,17 @@ jobs:
9898
- run: rm ../Cargo.toml
9999
- run: ${{ matrix.deps }}
100100
- run: cargo test
101-
- run: cargo test --features alloc,derive,std
101+
- run: cargo test --all-features
102102

103-
# Feature-gated ARM64 SIMD register support (nightly-only)
103+
# Feature-gated ARM64 SIMD register support (MSRV 1.59)
104104
aarch64:
105105
strategy:
106106
matrix:
107107
include:
108108
- target: aarch64-unknown-linux-gnu
109-
rust: nightly
109+
rust: 1.59.0
110+
- target: aarch64-unknown-linux-gnu
111+
rust: stable
110112
runs-on: ubuntu-latest
111113
steps:
112114
- uses: actions/checkout@v2

zeroize/src/aarch64.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! [`Zeroize`] impls for ARM64 SIMD registers.
22
//!
3-
//! Support for this is gated behind an `aarch64` feature because
4-
//! support for `core::arch::aarch64` is currently nightly-only.
3+
//! Gated behind the `aarch64` feature: MSRV 1.59
4+
//! (the overall crate is MSRV 1.51)
55
66
use crate::{atomic_fence, volatile_write, Zeroize};
77

0 commit comments

Comments
 (0)