Try appending Cargo directory to path.

This commit is contained in:
Nolan Darilek 2020-03-27 09:01:24 -05:00
parent 87a1035a12
commit 9a5fd7232d

View File

@ -25,6 +25,7 @@ build windows:
- choco install -y llvm - choco install -y llvm
- wget https://win.rustup.rs/x86_64 -O rustup-init.exe - wget https://win.rustup.rs/x86_64 -O rustup-init.exe
- .\rustup-init.exe -y --default-host=x86_64-pc-windows-msvc - .\rustup-init.exe -y --default-host=x86_64-pc-windows-msvc
- $env:PATH+=";%USERPROFILE%.cargo\bin"
- refreshenv - refreshenv
- cargo build --release --target x86_64-pc-windows-msvc - cargo build --release --target x86_64-pc-windows-msvc
- move target windows - move target windows