From 4039a5e6a9dd33549e8d394dcd0c622a9fa0bca6 Mon Sep 17 00:00:00 2001 From: Pierre-Henri Symoneaux Date: Mon, 29 May 2017 22:53:59 +0200 Subject: Use rustup to install rust in appveyor script Fixes #50 --- appveyor.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'appveyor.yml') diff --git a/appveyor.yml b/appveyor.yml index f6bea69..e8d3e26 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,7 +1,7 @@ install: - - ps: Start-FileDownload 'https://static.rust-lang.org/dist/rust-1.17.0-x86_64-pc-windows-gnu.exe' - - rust-1.17.0-x86_64-pc-windows-gnu.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" - - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin + - ps: Start-FileDownload 'https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-gnu/rustup-init.exe' + - rustup-init.exe -y --default-host x86_64-pc-windows-gnu --default-toolchain stable + - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin - rustc -V - cargo -V -- cgit v1.2.3