Skip to content

Commit

Permalink
ci(build): enable link-time optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanccn committed Aug 9, 2024
1 parent 2162be2 commit c826f99
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ jobs:

- name: Build
run: cargo auditable build --release --locked --target ${{ matrix.target }}
env:
CARGO_PROFILE_RELEASE_LTO: "fat"
CARGO_PROFILE_RELEASE_CODEGEN_UNITS: "1"

- name: Generate build provenance attestations
uses: actions/attest-build-provenance@v1
Expand Down

0 comments on commit c826f99

Please sign in to comment.