The error message triggered when RUST_MIN_VER is less than the required
minimum version has been corrected to reflect the actual variable name
used in the eclass. Specifically, RUST_MIN_VERSION was changed to
RUST_MIN_VER for consistency.
Fixes: 8ba94e73b14d ("cargo: update for rust eclass")
Signed-off-by: Petr Vaněk <[email protected]>
---
eclass/cargo.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index 247d1bf535b9..5c2b89b6a718 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -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
--
2.49.1