From 89e2d055417983eda5d116098064ec8ae9f51f6a Mon Sep 17 00:00:00 2001 From: Alex Saveau Date: Wed, 5 Oct 2022 11:52:04 -0700 Subject: [PATCH] Statically link release binaries (closes #3) Signed-off-by: Alex Saveau --- .github/workflows/cid.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cid.yml b/.github/workflows/cid.yml index f23e02f..0276a13 100644 --- a/.github/workflows/cid.yml +++ b/.github/workflows/cid.yml @@ -133,8 +133,8 @@ jobs: uses: actions-rs/cargo@v1 with: use-cross: true - command: build - args: --release --locked --target=${{ matrix.target }} + command: rustc + args: --release --locked --target=${{ matrix.target }} -- -C target-feature=+crt-static - name: Upload binary if: matrix.os != 'windows-latest' uses: svenstaro/upload-release-action@v2