Skip to content

Commit e221fe8

Browse files
committed
Remove lto from release
1 parent e191b5d commit e221fe8

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ jobs:
3232
- name: Run sccache-cache
3333
uses: mozilla-actions/[email protected]
3434

35-
- run: cargo build --target=${{ matrix.target }} --profile=release-lto
35+
- run: cargo build --target=${{ matrix.target }} --release
3636
env:
3737
SCCACHE_GHA_ENABLED: "true"
3838
RUSTC_WRAPPER: "sccache"
3939

40-
- run: cp target/${{ matrix.target }}/release-lto/${{ matrix.bin }} ${{ matrix.bin }}
40+
- run: cp target/${{ matrix.target }}/release/${{ matrix.bin }} ${{ matrix.bin }}
4141

4242
- if: matrix.os == 'windows-latest'
4343
run: |

Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,3 @@ clap-num = "1.1.1"
4242
[profile.test]
4343
opt-level = 1
4444

45-
[profile.release-lto]
46-
inherits = "release"
47-
lto = true

0 commit comments

Comments
 (0)