mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
4e8d0b766c
This is preperation for gstreamer/gstreamer!3889 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4327>
18 lines
416 B
PowerShell
18 lines
416 B
PowerShell
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
|
|
|
|
$rust_version = '1.68.2'
|
|
$rustup_url = 'https://win.rustup.rs/x86_64'
|
|
|
|
Invoke-WebRequest -Uri $rustup_url -OutFile C:\rustup-init.exe
|
|
|
|
if (!$?) {
|
|
Write-Host "Failed to download rustup"
|
|
Exit 1
|
|
}
|
|
|
|
C:\rustup-init.exe -y --profile minimal --default-toolchain $rust_version
|
|
|
|
if (!$?) {
|
|
Write-Host "Failed to install rust"
|
|
Exit 1
|
|
}
|