Patchwork D10675: automation: update rust in Linux environment

login
register
mail settings
Submitter phabricator
Date May 7, 2021, midnight
Message ID <differential-rev-PHID-DREV-iumi6tzeasxxlmoxztsg-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48994/
State Superseded
Headers show

Comments

phabricator - May 7, 2021, midnight
indygreg created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  Our minimum supported Rust is 1.41.1 per rust/README.rst. We also
  bump the modern Rust version to latest stable to stay current.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D10675

AFFECTED FILES
  contrib/automation/hgautomation/linux.py

CHANGE DETAILS




To: indygreg, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/contrib/automation/hgautomation/linux.py b/contrib/automation/hgautomation/linux.py
--- a/contrib/automation/hgautomation/linux.py
+++ b/contrib/automation/hgautomation/linux.py
@@ -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.46.0
+sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup install 1.41.1 1.52.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.10.3 pyoxidizer