comparison contrib/automation/hgautomation/linux.py @ 45643: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 57b5452a55d5
comparison
equal deleted inserted replaced
45642:56281b75264a 45643:6a36e2d2011f
70 wget -O rustup-init --progress dot:mega https://static.rust-lang.org/rustup/archive/1.18.3/x86_64-unknown-linux-gnu/rustup-init 70 wget -O rustup-init --progress dot:mega https://static.rust-lang.org/rustup/archive/1.18.3/x86_64-unknown-linux-gnu/rustup-init
71 echo "${RUSTUP_INIT_SHA256} rustup-init" | sha256sum --check - 71 echo "${RUSTUP_INIT_SHA256} rustup-init" | sha256sum --check -
72 72
73 chmod +x rustup-init 73 chmod +x rustup-init
74 sudo -H -u hg -g hg ./rustup-init -y 74 sudo -H -u hg -g hg ./rustup-init -y
75 sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup install 1.31.1 1.42.0 75 sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup install 1.31.1 1.46.0
76 sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup component add clippy 76 sudo -H -u hg -g hg /home/hg/.cargo/bin/rustup component add clippy
77 77
78 sudo -H -u hg -g hg /home/hg/.cargo/bin/cargo install --version 0.7.0 pyoxidizer 78 sudo -H -u hg -g hg /home/hg/.cargo/bin/cargo install --version 0.7.0 pyoxidizer
79 ''' 79 '''
80 80