diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2020-04-10 21:05:30 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-04-11 00:29:20 +0300 |
| commit | 97bb54bdfa2ffef8618ad5211da7c28fcf68f74a (patch) | |
| tree | d2e8dd34909f72ea74e2f9fcb36a102820fe7735 /ci/run.ps1 | |
| parent | a33f20b9a4e2e0ecf08f251be290bffd0d31a92d (diff) | |
| download | meson-97bb54bdfa2ffef8618ad5211da7c28fcf68f74a.tar.gz | |
Add rust stdlib dir to PATH on Windows.
Diffstat (limited to 'ci/run.ps1')
| -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..ac5a95977 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/toolchains/stable-x86_64-pc-windows-msvc/bin" + # download and install prerequisites function DownloadFile([String] $Source, [String] $Destination) { $retries = 10 |
