From 080afad26232012068cd8f57ea53d9602f78ed12 Mon Sep 17 00:00:00 2001 From: frectonz Date: Sat, 19 Oct 2024 12:06:02 +0300 Subject: [PATCH] chore: set `/WX` link arg --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4c00963..4590cba 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -108,7 +108,7 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} BUILD_MANIFEST_NAME: target/distrib/${{ join(matrix.targets, '-') }}-dist-manifest.json AWS_LC_SYS_PREBUILT_NASM: "1" - RUSTFLAGS: ${{ join(matrix.targets, '-') == 'x86_64-pc-windows-msvc' && '-C target-feature=+crt-static -C link-args=/NODEFAULTLIB:msvcrt' || '' }} + RUSTFLAGS: ${{ join(matrix.targets, '-') == 'x86_64-pc-windows-msvc' && '-Clink-arg=/WX -Ctarget-feature=+crt-static' || '' }} steps: - name: enable windows longpaths run: |