mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-29 13:01:05 +00:00
18 lines
432 B
PowerShell
18 lines
432 B
PowerShell
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
|
|
|
|
rustup --version
|
|
rustc --version
|
|
cargo --version
|
|
|
|
if (("$RUST_VERSION" -eq "nightly") -or ("$RUST_VERSION" -eq "1.80.0" )) {
|
|
cargo install --locked cargo-c --version 0.10.3+cargo-0.81
|
|
} else {
|
|
cargo install --locked cargo-c --version 0.9.26+cargo-0.74
|
|
}
|
|
|
|
if (!$?) {
|
|
Write-Host "Failed to install cargo-c"
|
|
Exit 1
|
|
}
|
|
|
|
cargo-cbuild --version
|