From 98cfbea68bfecbe51c274ed4297ce9851c1c8735 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Fri, 23 Oct 2026 05:35:13 -0600 Subject: [PATCH] CI: fix `sha2` build on `riscv32` --- .github/workflows/sha2.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sha2.yml b/.github/workflows/sha2.yml index 0ed588df..f354144b 100644 --- a/.github/workflows/sha2.yml +++ b/.github/workflows/sha2.yml @@ -206,16 +206,16 @@ jobs: with: toolchain: nightly components: rust-src - - run: cargo build --all-features --target riscv32gc-unknown-linux-gnu -Z build-std + - run: cargo build --all-features --target riscv32gc-unknown-linux-gnu -Z build-std=core,alloc env: RUSTFLAGS: -Dwarnings --cfg sha2_backend="soft" - - run: cargo build --all-features --target riscv32gc-unknown-linux-gnu -Z build-std + - run: cargo build --all-features --target riscv32gc-unknown-linux-gnu -Z build-std=core,alloc env: RUSTFLAGS: -Dwarnings --cfg sha2_backend="soft" --cfg sha2_backend_soft="compact" - - run: cargo build --all-features --target riscv32gc-unknown-linux-gnu -Z build-std + - run: cargo build --all-features --target riscv32gc-unknown-linux-gnu -Z build-std=core,alloc env: RUSTFLAGS: -Dwarnings --cfg sha2_backend="riscv-zknh" -C target-feature=+zknh,+zbkb - - run: cargo build --all-features --target riscv32gc-unknown-linux-gnu -Z build-std + - run: cargo build --all-features --target riscv32gc-unknown-linux-gnu -Z build-std=core,alloc env: RUSTFLAGS: -Dwarnings --cfg sha2_backend="riscv-zknh" --cfg sha2_backend_riscv_zknh="compact" -C target-feature=+zknh,+zbkb