Enable static CRT (in git), closes #318

This commit is contained in:
ice_iix 2020-07-05 11:20:34 -07:00
parent f5f61e071e
commit dbca7464bd
3 changed files with 8 additions and 8 deletions

8
.cargo/config Normal file
View File

@ -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"]

View File

@ -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: |

View File

@ -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.