add aarch64 cross testing (needed for ARM SHA acceleration)
What changed, and why it matters
This commit only changes the project's GitHub Actions CI configuration to add automated cross-compilation testing for the aarch64 (64-bit ARM) Linux target, alongside the existing s390x target. It does not modify any library code, cryptographic logic, or user-facing behavior. There is no security issue here.
No action required. This is a benign CI infrastructure change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch parameterizes an existing CI job that previously ran tests only for s390x-unknown-linux-gnu so it now runs for both s390x-unknown-linux-gnu and aarch64-unknown-linux-gnu. It adds a matrix strategy, installs the selected target, and runs cross test for that target. No Rust source code, dependencies, or build outputs are changed.
Changed components
.github/workflows/rust.ymlInspect captured patch +8 / −2
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index b6a9f5e6..edc520ec 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -277,6 +277,12 @@ jobs:
runs-on: ubuntu-24.04
permissions:
contents: read
+ strategy:
+ fail-fast: false
+ matrix:
+ target:
+ - s390x-unknown-linux-gnu
+ - aarch64-unknown-linux-gnu
steps:
- name: "Checkout repo"
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
@@ -285,11 +291,11 @@ jobs:
- name: "Select toolchain"
uses: dtolnay/rust-toolchain@5d458579430fc14a04a08a1e7d3694f545e91ce6 # stable
- name: "Install target"
- run: rustup target add s390x-unknown-linux-gnu
+ run: rustup target add ${{ matrix.target }}
- name: "Install cross"
run: cargo install cross --locked
- name: "Run cross test"
- run: cross test --target s390x-unknown-linux-gnu
+ run: cross test --target ${{ matrix.target }}
Embedded:
name: Embedded - nightly toolchain
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.