diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 80604b3..7c6d2e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - name: Build Binary - run: cargo build --verbose --locked --release --target ${{ matrix.target }} + run: RUSTFLAGS='-C target-feature=+crt-static' cargo build --verbose --locked --release --target ${{ matrix.target }} - name: Build archive shell: bash