comparison contrib/automation/hgautomation/linux.py @ 47208:2df655f682a6

automation: update rust in Linux environment 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. Differential Revision: https://phab.mercurial-scm.org/D10675
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 06 May 2021 15:41:52 -0700
parents 743522fa2455
children 0de5eefbe4b2
comparison
equal deleted inserted replaced
47207:743522fa2455 47208:2df655f682a6
83 wget -O rustup-init --progress dot:mega https://static.rust-lang.org/rustup/archive/1.18.3/x86_64-unknown-linux-gnu/rustup-init 83 wget -O rustup-init --progress dot:mega https://static.rust-lang.org/rustup/archive/1.18.3/x86_64-unknown-linux-gnu/rustup-init
84 echo "${RUSTUP_INIT_SHA256} rustup-init" | sha256sum --check - 84 echo "${RUSTUP_INIT_SHA256} rustup-init" | sha256sum --check -
85 85
86 chmod +x rustup-init 86 chmod +x rustup-init
87 sudo -H -u hg -g hg ./rustup-init -y 87 sudo -H -u hg -g hg ./rustup-init -y
88 sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup install 1.31.1 1.46.0 88 sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup install 1.41.1 1.52.0
89 sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup component add clippy 89 sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup component add clippy
90 90
91 sudo -H -u hg -g hg /home/hg/.cargo/bin/cargo install --version 0.10.3 pyoxidizer 91 sudo -H -u hg -g hg /home/hg/.cargo/bin/cargo install --version 0.10.3 pyoxidizer
92 ''' 92 '''
93 93