Skip to content

Commit d7d8bf1

Browse files
authored
chore(rust): add fips feature (#805)
1 parent bcf4220 commit d7d8bf1

File tree

11 files changed

+301
-453
lines changed

11 files changed

+301
-453
lines changed

.github/workflows/library_rust_tests.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ jobs:
6868
if: matrix.os == 'windows-latest'
6969
uses: ilammy/setup-nasm@v1
7070

71+
# Go is needed for aws-lc-FIPS
72+
- name: Install Go
73+
uses: actions/setup-go@v5
74+
with:
75+
go-version: ">=1.18"
76+
7177
- name: Install Smithy-Dafny codegen dependencies
7278
uses: ./.github/actions/install_smithy_dafny_codegen_dependencies
7379

@@ -208,3 +214,11 @@ jobs:
208214
# Without this, running test vectors fails due to `fatal runtime error: stack overflow`
209215
export RUST_MIN_STACK=104857600
210216
cargo test --release -- --test-threads 1 --nocapture
217+
218+
- name: Test ${{ matrix.library }} Rust Fips
219+
shell: bash
220+
working-directory: ./${{ matrix.library }}/runtimes/rust
221+
run: |
222+
# Without this, running test vectors fails due to `fatal runtime error: stack overflow`
223+
export RUST_MIN_STACK=104857600
224+
cargo test --release --features fips -- --nocapture

AwsEncryptionSDK/codegen-patches/AwsEncryptionSdk/dotnet/dafny-4.2.0.patch

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)