Skip to content

Commit

Permalink
Cleanup; Address aws#495
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Sep 4, 2024
1 parent 730a06c commit ea0c3e2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,6 @@ jobs:
args:
- publish --dry-run
steps:
- uses: actions/setup-go@v4
with:
go-version: '>=1.18'
- run: go version
- uses: actions/checkout@v3
with:
submodules: 'recursive'
Expand Down
6 changes: 6 additions & 0 deletions book/src/requirements/apple.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ brew install llvm
cargo install --force --locked bindgen-cli
```

## FIPS build

Building with the "fips" feature on this platform will result in the creation of shared libraries (named like
`libaws_lc_fips_0_xx_yy_crypto.dylib` and `libaws_lc_fips_0_xx_yy_rust_wrapper.dylib`). These shared libraries will
likely need to be distributed alongside any executable that depends on **aws-lc-rs**.

## Troubleshooting

See our [troubleshooting section](../resources.md#troubleshooting).
Expand Down
10 changes: 9 additions & 1 deletion book/src/requirements/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ The prebuilt NASM objects are checked into our repository
and are [available for inspection](https://github.com/aws/aws-lc-rs/tree/main/aws-lc-sys/builder/prebuilt-nasm).
For each PR submitted,
[our CI verifies](https://github.com/aws/aws-lc-rs/blob/8fb6869fc7bde92529a5cca40cf79513820984f7/.github/workflows/tests.yml#L209-L241)
that the NASM objects newly built from source match the NASM objects currently in the repository.### No-assembly build
that the NASM objects newly built from source match the NASM objects currently in the repository.

### No-assembly build

It is possible to avoid the NASM requirement by setting the `AWS_LC_SYS_NO_ASM`/`AWS_LC_FIPS_SYS_NO_ASM` environment
variables. However, this severely impacts performance and can only be used for un-optimized/debug builds. See the
Expand Down Expand Up @@ -95,6 +97,12 @@ See the [requirements](https://rust-lang.github.io/rust-bindgen/requirements.htm
cargo install --force --locked bindgen-cli
```

## FIPS build

Building with the "fips" feature on this platform will result in the creation of shared libraries (named like
`aws_lc_fips_0_xx_yy_crypto.dll` and `aws_lc_fips_0_xx_yy_rust_wrapper.dll`). These shared libraries will likely need to
be distributed alongside any executable that depends on **aws-lc-rs**.

## Troubleshooting

See our [troubleshooting section](../resources.md#troubleshooting).
Expand Down

0 comments on commit ea0c3e2

Please sign in to comment.