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