From 0a4f28de76194c5969b6fbde4dbbf6d2353ff6eb Mon Sep 17 00:00:00 2001 From: Josh Holmer Date: Mon, 11 Sep 2017 19:11:46 -0400 Subject: [PATCH] Add crt-static to rustflags to remove need for VC++ runtime for Windows users --- README.md | 2 +- appveyor.yml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a5a0361c..fbff8843 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,6 @@ interface or as a library in other Rust programs. ## Installing Oxipng can be downloaded from the [Releases](https://github.com/shssoichiro/oxipng/releases) link on the GitHub page. -Windows users will need to ensure they have the [Visual C++ 2015 Runtime](https://www.microsoft.com/en-us/download/details.aspx?id=48145) installed. Oxipng can also be installed from Cargo, via the following command: ``` @@ -74,6 +73,7 @@ passing it, along with an input filename, into the Oxipng began as a complete rewrite of the OptiPNG project, which was assumed to be dead as no commit had been made to it since March 2014. +(OptiPNG has since released a new version, after Oxipng was first released.) The name has been changed to avoid confusion and potential legal issues. The core goal of rewriting OptiPNG was to implement multithreading, diff --git a/appveyor.yml b/appveyor.yml index e61fcd7a..2d4217c4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -30,6 +30,7 @@ test_script: before_deploy: # Generate artifacts for release + - SET RUSTFLAGS=-C target-feature=+crt-static - cargo build --release - mkdir staging - copy target\release\oxipng.exe staging @@ -54,8 +55,8 @@ deploy: # channel to use to produce the release artifacts # NOTE make sure you only release *once* per target CHANNEL: stable - appveyor_repo_tag: true +# appveyor_repo_tag: true -branches: - only: - - master +#branches: +# only: +# - master