From 002bd18170eeb4f90dcfccfaeab96c06ea049a1f Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Mon, 12 Oct 2026 19:31:00 +0200 Subject: [PATCH] Link the C runtime statically into the Windows build Co-Authored-By: Claude Opus 5.5 --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6d78ef57e..ed094cdef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,9 @@ jobs: - name: Install Rust toolchain run: rustup toolchain install stable --profile minimal - name: Build the client + # The C runtime linked in, so the game runs without the Visual C++ redistributable. + env: + RUSTFLAGS: -C target-feature=+crt-static run: cargo +stable build --release --locked -p horizon-client --bin horizon-client - name: Package shell: bash