diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-04-10 21:05:30 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-04-10 21:05:30 +0300 |
commit | 88a045fde6eae20db415e45d64da06657f033e8b (patch) | |
tree | 338ffa0781f6e53b590dbfff508f79ef285587b0 | |
parent | 2008cb21098e3d73d1b8f82c2c35c455c9435dfa (diff) | |
download | meson-fixvsrust.tar.gz |
Add rust stdlib dir to PATH on Windows.fixvsrust
-rw-r--r-- | ci/run.ps1 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/run.ps1 b/ci/run.ps1 index 8729185fe..f0c83b63a 100644 --- a/ci/run.ps1 +++ b/ci/run.ps1 @@ -6,6 +6,9 @@ if ($LastExitCode -ne 0) { # remove Chocolately, MinGW, Strawberry Perl from path, so we don't find gcc/gfortran and try to use it $env:Path = ($env:Path.Split(';') | Where-Object { $_ -notmatch 'mingw|Strawberry|Chocolatey' }) -join ';' +# Rust puts its shared stdlib in a secret place, but it is needed to run tests. +$env:Path += ";$HOME/.rustup/stable-x86_64-pc-windows-msvc" + # download and install prerequisites function DownloadFile([String] $Source, [String] $Destination) { $retries = 10 |