eclass/cargo: Sync with Gentoo

It's from Gentoo commit 43c15cb26af8df9537cc7f9051e0d4ab26f33514.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2025-09-15 07:07:15 +00:00 committed by Krzesimir Nowak
parent a98324a271
commit 872230368b

View File

@ -43,7 +43,7 @@ case ${EAPI} in
# than the oldest in-tree in future.
if [[ -z ${CARGO_BOOTSTRAP} ]]; then
if ver_test "${RUST_MIN_VER}" -lt "${_CARGO_ECLASS_RUST_MIN_VER}"; then
die "RUST_MIN_VERSION must be at least ${_CARGO_ECLASS_RUST_MIN_VER}"
die "RUST_MIN_VER must be at least ${_CARGO_ECLASS_RUST_MIN_VER}"
fi
fi
else