Browse Source

Enable static CRT (in git), closes #318

pull/371/head
ice_iix 1 year ago
parent
commit
dbca7464bd
  1. 8
      .cargo/config
  2. 6
      .github/workflows/build.yaml
  3. 2
      README.md

8
.cargo/config

@ -0,0 +1,8 @@
[target.x86_64-pc-windows-msvc]
rustflags = ["-Ctarget-feature=+crt-static"]
[target.i686-pc-windows-msvc]
rustflags = ["-Ctarget-feature=+crt-static"]
[target.i586-pc-windows-msvc]
rustflags = ["-Ctarget-feature=+crt-static"]

6
.github/workflows/build.yaml

@ -19,12 +19,6 @@ jobs:
with:
toolchain: stable
default: true
- name: (Windows) Enable static CRT linkage # https://stackoverflow.com/a/44387312/7653274
if: matrix.os == 'windows-latest'
run: |
mkdir .cargo
echo '[target.x86_64-pc-windows-msvc]' >> .cargo/config
echo 'rustflags = ["-Ctarget-feature=+crt-static"]' >> .cargo/config
- name: (Linux) Install libxcb-composite
if: matrix.os == 'ubuntu-latest'
run: |

2
README.md

@ -59,8 +59,6 @@ Support for older protocols will _not_ be dropped as newer protocols are added.
Windows users can download pre-compiled builds from here: https://ci.appveyor.com/project/iceiix/stevenarella
(Select your platform, Click the artifacts tab and download Steven.zip)
The Visual Studio 2017 Redistributable is required to run these builds.
## Building
Requires Rust stable version 1.44.1 or newer to build.

Loading…
Cancel
Save