ci: Also use cargo-c 0.10.3 for Rust 1.80

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1491>
This commit is contained in:
Sebastian Dröge 2024-08-05 12:19:57 +03:00 committed by Jordan Petridis
parent c9412e663b
commit 57f407fa89
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ if [ "$RUST_IMAGE_FULL" = "1" ]; then
cargo install --locked --force grcov
fi
if [ "$RUST_VERSION" = "nightly" ]; then
if [ "$RUST_VERSION" = "nightly" -o "$RUST_VERSION" = "1.80.0" ]; then
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

View file

@ -4,7 +4,7 @@ rustup --version
rustc --version
cargo --version
if ("$RUST_VERSION" -eq "nightly") {
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