Revert "[all OSs] Pin Rust to 1.89.0 due to a 1.90.0 breaking change (#13044)" (#13076)

This reverts commit 98a1416fbf.
This commit is contained in:
Erik Bershel
2025-09-24 19:32:18 +02:00
committed by GitHub
parent 21bf85db20
commit 69c94f5be8
3 changed files with 3 additions and 6 deletions

View File

@@ -10,8 +10,7 @@ echo "Installing Rustup..."
brew_smart_install "rustup-init" brew_smart_install "rustup-init"
echo "Installing Rust language..." echo "Installing Rust language..."
# Pin to 1.89.0 until https://github.com/actions/runner-images/issues/13041 && https://github.com/rust-lang/rust/issues/145936 is resolved rustup-init -y --no-modify-path --default-toolchain=stable --profile=minimal
rustup-init -y --no-modify-path --default-toolchain=1.89.0 --profile=minimal
echo "Initialize environment variables..." echo "Initialize environment variables..."
CARGO_HOME=$HOME/.cargo CARGO_HOME=$HOME/.cargo

View File

@@ -11,8 +11,7 @@ source $HELPER_SCRIPTS/os.sh
export RUSTUP_HOME=/etc/skel/.rustup export RUSTUP_HOME=/etc/skel/.rustup
export CARGO_HOME=/etc/skel/.cargo export CARGO_HOME=/etc/skel/.cargo
# Pin to 1.89.0 until https://github.com/actions/runner-images/issues/13041 && https://github.com/rust-lang/rust/issues/145936 is resolved curl -fsSL https://sh.rustup.rs | sh -s -- -y --default-toolchain=stable --profile=minimal
curl -fsSL https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.89.0 --profile=minimal
# Initialize environment variables # Initialize environment variables
source $CARGO_HOME/env source $CARGO_HOME/env

View File

@@ -18,8 +18,7 @@ Test-FileChecksum $rustupPath -ExpectedSHA256Sum $distributorFileHash
#endregion #endregion
# Install Rust by running rustup-init.exe (disabling the confirmation prompt with -y) # Install Rust by running rustup-init.exe (disabling the confirmation prompt with -y)
# Pin to 1.89.0 until https://github.com/actions/runner-images/issues/13041 && https://github.com/rust-lang/rust/issues/145936 is resolved & $rustupPath -y --default-toolchain=stable --profile=minimal
& $rustupPath -y --default-toolchain=1.89.0 --profile=minimal
if ($LASTEXITCODE -ne 0) { if ($LASTEXITCODE -ne 0) {
throw "Rust installation failed with exit code $LASTEXITCODE" throw "Rust installation failed with exit code $LASTEXITCODE"
} }