diff --git a/appveyor.yml b/appveyor.yml index 9e9ae34..5dfbf5d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,7 +7,7 @@ environment: install: - ps: Start-FileDownload "https://static.rust-lang.org/dist/channel-rust-stable" - ps: $env:RUST_VERSION = Get-Content channel-rust-stable | select -first 1 | %{$_.split('-')[1]} - - SET RUST_URL=https://static.rust-lang.org/dist/rust-${env:RUST_VERSION}-${env:TARGET}.exe + - SET RUST_URL=https://static.rust-lang.org/dist/rust-%RUST_VERSION%-%TARGET%.exe - SET PATH=C:\Rust\bin;C:\msys64\mingw64\bin;%PATH%;C:\msys64\usr\bin - ps: Start-FileDownload $env:RUST_URL -FileName rust-dist.exe - rust-dist.exe /VERYSILENT /NORESTART /COMPONENTS="Rustc,Gcc,Cargo,Std" /DIR="C:\Rust"