Skip to content
Snippets Groups Projects
Commit 9dc02d87 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

contrib: cargo: don't build the cargo native tool if Rust is disabled

parent 32512308
No related branches found
No related tags found
1 merge request!5674contrib: cargo: don't build the cargo native tool if Rust is disabled
Pipeline #487713 passed with stage
in 1 hour, 5 minutes, and 22 seconds
......@@ -5,7 +5,9 @@ CARGOC_VERSION=0.9.29
RUSTUP_VERSION := 1.27.1
RUSTUP_URL := $(GITHUB)/rust-lang/rustup/archive/refs/tags/$(RUSTUP_VERSION).tar.gz
ifdef BUILD_RUST
PKGS_TOOLS += cargo
endif
RUSTUP = . $(CARGO_HOME)/env && \
RUSTUP_HOME=$(RUSTUP_HOME) CARGO_HOME=$(CARGO_HOME) rustup
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment