From 0f9cdd7699f98c155cda1d7d930cc1b1c1ea96e4 Mon Sep 17 00:00:00 2001 From: Liam Date: Sun, 5 Dec 2021 00:28:55 -0500 Subject: [PATCH] statically link --- .github/workflows/package.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index f4787d3b..01c4abda 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -35,14 +35,15 @@ jobs: - target: x86_64-apple-darwin os: macos-latest cross_compiling: false - target_rustflags: '' + target_rustflags: '--codegen target-feature=+crt-static' - target: x86_64-pc-windows-msvc os: windows-latest cross_compiling: false + target_rustflags: '--codegen target-feature=+crt-static' - target: x86_64-unknown-linux-musl os: ubuntu-latest cross_compiling: false - target_rustflags: '' + target_rustflags: '--codegen target-feature=+crt-static' runs-on: ${{ matrix.os }}