From ffb86458f054ab41688b2a58de97ac2ed2634f75 Mon Sep 17 00:00:00 2001 From: LGUG2Z Date: Fri, 20 Aug 2021 13:40:37 -0700 Subject: [PATCH] build(cargo): set -Ctarget-feature=+crt-static I tried running prebuilt binaries from GitHub Actions on a fresh Windows 11 VM and was faced with the error "The code execution cannot proceed because VCRUNTIME140.dll was not found." After Googling around a little I think this may help with that issue; definitely don't want to have to troubleshoot this for non-developers who just want to use a tiling window manager. --- .github/workflows/windows.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/windows.yaml b/.github/workflows/windows.yaml index 340ff98c..5262ef6d 100644 --- a/.github/workflows/windows.yaml +++ b/.github/workflows/windows.yaml @@ -20,6 +20,8 @@ jobs: build: name: Build runs-on: windows-latest + env: + RUSTFLAGS: -Ctarget-feature=+crt-static strategy: fail-fast: false matrix: