• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 # Installing rust compiler
2 # Touch this file needs update both WINDOWS_X64_BUILD_TAG WINDOWS_X64_TEST_TAG
3 # This file needs run in administrator mode
4 
5 $ProgressPreference = "SilentlyContinue"
6 
7 Write-Host "Installing rust at:"
8 Get-Date
9 $url = 'https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe';
10 Write-Host ('Downloading {0} ...' -f $url);
11 Invoke-WebRequest -Uri $url -OutFile 'rustup-init.exe';
12 Write-Host "Installing rust toolchain"
13 .\rustup-init.exe -y;
14 Remove-Item rustup-init.exe;
15 
16 Write-Host "Installing rust finished at:"
17 Get-Date
18