Skip to content

Commit 69c94f5

Browse files
authored
Revert "[all OSs] Pin Rust to 1.89.0 due to a 1.90.0 breaking change (#13044)" (#13076)
This reverts commit 98a1416.
1 parent 21bf85d commit 69c94f5

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

images/macos/scripts/build/install-rust.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ echo "Installing Rustup..."
1010
brew_smart_install "rustup-init"
1111

1212
echo "Installing Rust language..."
13-
# Pin to 1.89.0 until https://github.com/actions/runner-images/issues/13041 && https://github.com/rust-lang/rust/issues/145936 is resolved
14-
rustup-init -y --no-modify-path --default-toolchain=1.89.0 --profile=minimal
13+
rustup-init -y --no-modify-path --default-toolchain=stable --profile=minimal
1514

1615
echo "Initialize environment variables..."
1716
CARGO_HOME=$HOME/.cargo

images/ubuntu/scripts/build/install-rust.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ source $HELPER_SCRIPTS/os.sh
1111
export RUSTUP_HOME=/etc/skel/.rustup
1212
export CARGO_HOME=/etc/skel/.cargo
1313

14-
# Pin to 1.89.0 until https://github.com/actions/runner-images/issues/13041 && https://github.com/rust-lang/rust/issues/145936 is resolved
15-
curl -fsSL https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.89.0 --profile=minimal
14+
curl -fsSL https://sh.rustup.rs | sh -s -- -y --default-toolchain=stable --profile=minimal
1615

1716
# Initialize environment variables
1817
source $CARGO_HOME/env

images/windows/scripts/build/Install-Rust.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ Test-FileChecksum $rustupPath -ExpectedSHA256Sum $distributorFileHash
1818
#endregion
1919

2020
# Install Rust by running rustup-init.exe (disabling the confirmation prompt with -y)
21-
# Pin to 1.89.0 until https://github.com/actions/runner-images/issues/13041 && https://github.com/rust-lang/rust/issues/145936 is resolved
22-
& $rustupPath -y --default-toolchain=1.89.0 --profile=minimal
21+
& $rustupPath -y --default-toolchain=stable --profile=minimal
2322
if ($LASTEXITCODE -ne 0) {
2423
throw "Rust installation failed with exit code $LASTEXITCODE"
2524
}

0 commit comments

Comments
 (0)