[vlc-devel] [PATCH] contrib: cargo: build cargo-c with --locked

Thomas Guillem thomas at gllm.fr
Tue Oct 13 13:32:36 CEST 2020


This avoid a build breakage if a dependency is yanked.
---
 contrib/src/cargo/rules.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/src/cargo/rules.mak b/contrib/src/cargo/rules.mak
index 3de18a46a6d..1b3cc36a54d 100644
--- a/contrib/src/cargo/rules.mak
+++ b/contrib/src/cargo/rules.mak
@@ -34,5 +34,5 @@ endif
 	$(RUSTUP) default stable
 	$(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
 	touch $@
-- 
2.28.0



More information about the vlc-devel mailing list