Release cargo-config requirement from depends.mk

This commit is contained in:
Wildan M 2025-11-02 18:16:05 +07:00
parent bb727c3566
commit 4b6d5db26e

View File

@ -24,11 +24,4 @@ ifeq ($(shell which just),)
$(error 'just' not found, install from crates.io or from your package manager)
endif
ifneq ($(NIX_SHELL_BUILD),1)
CARGO_CONFIG_VERSION=0.1.1
ifeq ($(shell env -u RUSTUP_TOOLCHAIN cargo install --list | grep '^cargo-config v$(CARGO_CONFIG_VERSION):$$'),)
$(error cargo-config $(CARGO_CONFIG_VERSION) not found, run "cargo install --force --version $(CARGO_CONFIG_VERSION) cargo-config")
endif
endif
endif