summaryrefslogtreecommitdiff
path: root/ci/run.ps1
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-12-19 18:00:44 -0500
committerEli Schwartz <eschwartz93@gmail.com>2024-12-20 04:03:42 -0500
commit21614ac00bbec87eefaddb76cd7a25413d3f9752 (patch)
tree21ad0efbb3530f68fffae0369716dfcf5c4e32c6 /ci/run.ps1
parente56eea7476c60aff1f10a87fdad3e86cd810d92d (diff)
downloadmeson-21614ac00bbec87eefaddb76cd7a25413d3f9752.tar.gz
Revert "CI: Windows: downgrade rust to 1.77"
This reverts commit 1da230c9e0f66cf7ecf5a9f5fed70e74e15418ac. Should be fixed now in upstream rustc.
Diffstat (limited to 'ci/run.ps1')
-rw-r--r--ci/run.ps113
1 files changed, 6 insertions, 7 deletions
diff --git a/ci/run.ps1 b/ci/run.ps1
index d3fda2d8b..d781cf725 100644
--- a/ci/run.ps1
+++ b/ci/run.ps1
@@ -8,22 +8,21 @@ if ($LastExitCode -ne 0) {
$env:Path = ($env:Path.Split(';') | Where-Object { $_ -notmatch 'mingw|Strawberry|Chocolatey|PostgreSQL' }) -join ';'
if ($env:arch -eq 'x64') {
- rustup default 1.77
# Rust puts its shared stdlib in a secret place, but it is needed to run tests.
- $env:Path += ";$HOME/.rustup/toolchains/1.77-x86_64-pc-windows-msvc/bin"
+ $env:Path += ";$HOME/.rustup/toolchains/stable-x86_64-pc-windows-msvc/bin"
} elseif ($env:arch -eq 'x86') {
# Switch to the x86 Rust toolchain
- rustup default 1.77-i686-pc-windows-msvc
+ rustup default stable-i686-pc-windows-msvc
+
+ # Also install clippy
+ rustup component add clippy
# Rust puts its shared stdlib in a secret place, but it is needed to run tests.
- $env:Path += ";$HOME/.rustup/toolchains/1.77-i686-pc-windows-msvc/bin"
+ $env:Path += ";$HOME/.rustup/toolchains/stable-i686-pc-windows-msvc/bin"
# Need 32-bit Python for tests that need the Python dependency
$env:Path = "C:\hostedtoolcache\windows\Python\3.7.9\x86;C:\hostedtoolcache\windows\Python\3.7.9\x86\Scripts;$env:Path"
}
-# Also install clippy
-rustup component add clippy
-
# Set the CI env var for the meson test framework
$env:CI = '1'