[vlc-commits] contrib: cargo: freeze the cargo-c version
Thomas Guillem
git at videolan.org
Wed Oct 14 16:07:30 CEST 2020
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Oct 13 13:31:27 2020 +0200| [177b50cdcbf17190851fdc168c491a6d6801a275] | committer: Thomas Guillem
contrib: cargo: freeze the cargo-c version
And use --locked to avoid a build breakage if a dependency is yanked.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=177b50cdcbf17190851fdc168c491a6d6801a275
---
contrib/src/cargo/rules.mak | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/contrib/src/cargo/rules.mak b/contrib/src/cargo/rules.mak
index 4169e7d844..c2b8be201b 100644
--- a/contrib/src/cargo/rules.mak
+++ b/contrib/src/cargo/rules.mak
@@ -1,6 +1,7 @@
# cargo/cargo-c installation via rustup
RUST_VERSION=1.47.0
+CARGOC_VERSION=0.6.15
RUSTUP_VERSION=1.22.1
RUSTUP_URL=https://github.com/rust-lang/rustup/archive/$(RUSTUP_VERSION).tar.gz
@@ -35,5 +36,5 @@ endif
$(RUSTUP) default $(RUST_VERSION)
$(RUSTUP) target add $(RUST_TARGET)
unset PKG_CONFIG_LIBDIR PKG_CONFIG_PATH CFLAGS CPPFLAGS LDFLAGS; \
- $(CARGO) install $(CARGOC_FEATURES) cargo-c
+ $(CARGO) install --locked $(CARGOC_FEATURES) cargo-c --version $(CARGOC_VERSION)
touch $@
More information about the vlc-commits
mailing list