From bb8b7779a9ae40a3fcb84d81febd555e1fcdd6eb Mon Sep 17 00:00:00 2001 From: Giang Minh Date: Thu, 16 Nov 2023 08:54:00 +0700 Subject: [PATCH] add crt-static option --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index eb46cda8..b3e85f54 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,8 @@ jobs: runs-on: ${{ matrix.os }} env: RUST_BACKTRACE: 1 + CARGO_TARGET_X86_64_UNKNOWN_LINUX_MUSL_RUSTFLAGS: '-C target-feature=+crt-static' + CARGO_TARGET_AARCH64_UNKNOWN_LINUX_MUSL_RUSTFLAGS: '-C target-feature=+crt-static' strategy: matrix: build: @@ -68,7 +70,7 @@ jobs: if: matrix.os == 'macos-latest' run: | brew update - brew install libsoxr + brew install libsoxr # Workaround for - name: Switch Xcode SDK