Skip to content

Commit

Permalink
Enable fat LTO for maturin release workflow (#2344)
Browse files Browse the repository at this point in the history
Closes #2337
  • Loading branch information
messense authored Nov 30, 2024
1 parent de58de2 commit a5b479c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ jobs:
os: windows-latest
name: maturin-aarch64-pc-windows-msvc.zip
runs-on: ${{ matrix.os }}
env:
CARGO_PROFILE_RELEASE_LTO: "fat"
steps:
# Largely inspired by https://github.com/starship/starship/blob/35a0a20f5c4fea6a08e1b91ff631b089eef8fc50/.github/workflows/deploy.yml
- uses: actions/checkout@v4
Expand Down Expand Up @@ -167,6 +169,7 @@ jobs:
env:
RUSTUP_HOME: /root/.rustup
CARGO_HOME: /root/.cargo
CARGO_PROFILE_RELEASE_LTO: "fat"
steps:
- uses: actions/checkout@v4
# powerpc64le-unknown-linux-musl doesn't have official std library release
Expand Down

0 comments on commit a5b479c

Please sign in to comment.