From 6c2357d35018ddaf7d9ced19aa300c7d51ddd359 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Wed, 22 May 2024 15:24:33 +0800 Subject: [PATCH] . --- .github/workflows/release.yml | 4 ++++ autocorrect-cli/Cargo.toml | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c0fcf4..5451ad6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: diff --git a/autocorrect-cli/Cargo.toml b/autocorrect-cli/Cargo.toml index 696ad1d..c9cbcf3 100644 --- a/autocorrect-cli/Cargo.toml +++ b/autocorrect-cli/Cargo.toml @@ -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"]