desktop: Build windows binaries with crt-static

Remove requirement for MSVC redstributables.
This commit is contained in:
Adrian Wielgosik 2021-01-15 16:39:13 +01:00 committed by Mike Welsh
parent c284a2e47e
commit 1bbe3c97b3
2 changed files with 12 additions and 4 deletions

View File

@ -104,7 +104,17 @@ jobs:
npm run build
npm run docs
- name: Build desktop
- name: Build Windows desktop
if: matrix.os == 'windows-latest'
uses: actions-rs/cargo@v1
with:
command: build
args: --release
env:
RUSTFLAGS: -Ctarget-feature=+crt-static
- name: Build Mac / Ubuntu
if: matrix.os != 'windows-latest'
uses: actions-rs/cargo@v1
with:
command: build

View File

@ -23,12 +23,10 @@ Ruffle is in the proof-of-concept stage and can currently run early Flash animat
## Using Ruffle
The easiest way to try out Ruffle is to visit the [web demo page](https://ruffle.rs/demo/), then click the "Browse..." button to load an SWF file of your choice.
The easiest way to try out Ruffle is to visit the [web demo page](https://ruffle.rs/demo/), then click the "Browse..." button to load an SWF file of your choice.
[Nightly builds](https://ruffle.rs/#releases) of Ruffle are available for desktop and web platforms including the browser extension.
Windows desktop builds require the x64 [2015-2019 Visual C++ Redistributable](https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads).
For more detailed instructions, see our [wiki page](https://github.com/ruffle-rs/ruffle/wiki/Using-Ruffle).
## Building from source