Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed May 22, 2024
1 parent b107725 commit 6c2357d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ jobs:
profile: minimal
target: ${{ matrix.target }}

# rust-lang/rust#124129
- name: Disable rust-lld
run: echo RUSTFLAGS=${RUSTFLAGS}\ -Zlinker-features=-lld >> $GITHUB_ENV

- name: Build | Build
uses: actions-rs/cargo@v1
with:
Expand Down
4 changes: 0 additions & 4 deletions autocorrect-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,3 @@ update = ["self_update", "sudo"]
lto = true
opt-level = "z" # Optimize for size.
strip = true # Automatically strip symbols from the binary.

[target.x86_64-unknown-linux-gnu]
# https://github.com/huacnlee/autocorrect/pull/198
rustflags = ["-Zlinker-features=-lld"]

0 comments on commit 6c2357d

Please sign in to comment.