changeset 45645:6a36e2d2011f

contrib: install Rust 1.46.0 Let's use the latest/greatest version of Rust in the automation environment. Differential Revision: https://phab.mercurial-scm.org/D9146
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 03 Oct 2020 14:44:11 -0700
parents 56281b75264a
children 439ce34d81e6
files contrib/automation/hgautomation/linux.py contrib/install-windows-dependencies.ps1
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/automation/hgautomation/linux.py	Sat Oct 03 19:52:52 2020 -0700
+++ b/contrib/automation/hgautomation/linux.py	Sat Oct 03 14:44:11 2020 -0700
@@ -72,7 +72,7 @@
 
 chmod +x rustup-init
 sudo -H -u hg -g hg ./rustup-init -y
-sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup install 1.31.1 1.42.0
+sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup install 1.31.1 1.46.0
 sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup component add clippy
 
 sudo -H -u hg -g hg /home/hg/.cargo/bin/cargo install --version 0.7.0 pyoxidizer
--- a/contrib/install-windows-dependencies.ps1	Sat Oct 03 19:52:52 2020 -0700
+++ b/contrib/install-windows-dependencies.ps1	Sat Oct 03 14:44:11 2020 -0700
@@ -126,7 +126,7 @@
 
     Invoke-Process "${prefix}\assets\rustup-init.exe" "-y --default-host x86_64-pc-windows-msvc"
     Invoke-Process "${prefix}\cargo\bin\rustup.exe" "target add i686-pc-windows-msvc"
-    Invoke-Process "${prefix}\cargo\bin\rustup.exe" "install 1.42.0"
+    Invoke-Process "${prefix}\cargo\bin\rustup.exe" "install 1.46.0"
     Invoke-Process "${prefix}\cargo\bin\rustup.exe" "component add clippy"
 
     # Install PyOxidizer for packaging.