comparison contrib/install-windows-dependencies.ps1 @ 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
124 $Env:RUSTUP_HOME = "${prefix}\rustup" 124 $Env:RUSTUP_HOME = "${prefix}\rustup"
125 $Env:CARGO_HOME = "${prefix}\cargo" 125 $Env:CARGO_HOME = "${prefix}\cargo"
126 126
127 Invoke-Process "${prefix}\assets\rustup-init.exe" "-y --default-host x86_64-pc-windows-msvc" 127 Invoke-Process "${prefix}\assets\rustup-init.exe" "-y --default-host x86_64-pc-windows-msvc"
128 Invoke-Process "${prefix}\cargo\bin\rustup.exe" "target add i686-pc-windows-msvc" 128 Invoke-Process "${prefix}\cargo\bin\rustup.exe" "target add i686-pc-windows-msvc"
129 Invoke-Process "${prefix}\cargo\bin\rustup.exe" "install 1.42.0" 129 Invoke-Process "${prefix}\cargo\bin\rustup.exe" "install 1.46.0"
130 Invoke-Process "${prefix}\cargo\bin\rustup.exe" "component add clippy" 130 Invoke-Process "${prefix}\cargo\bin\rustup.exe" "component add clippy"
131 131
132 # Install PyOxidizer for packaging. 132 # Install PyOxidizer for packaging.
133 Invoke-Process "${prefix}\cargo\bin\cargo.exe" "install --version 0.7.0 pyoxidizer" 133 Invoke-Process "${prefix}\cargo\bin\cargo.exe" "install --version 0.7.0 pyoxidizer"
134 } 134 }