From 402e64c0e8195e62ba8662a2473806bfe7e7a0cc Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Thu, 26 Dec 2019 18:07:05 -0800 Subject: cargo.eclass: require rust 1.37 or newer unconditionally Signed-off-by: Georgy Yakovlev --- eclass/cargo.eclass | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'eclass') diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass index fb759f95903f..2807bf8069d8 100644 --- a/eclass/cargo.eclass +++ b/eclass/cargo.eclass @@ -12,12 +12,8 @@ if [[ -z ${_CARGO_ECLASS} ]]; then _CARGO_ECLASS=1 -if [[ ${PV} == *9999* ]]; then - # we need at least this for cargo vendor subommand - CARGO_DEPEND=">=virtual/cargo-1.37.0" -else - CARGO_DEPEND="virtual/cargo" -fi +# we need this for 'cargo vendor' subcommand and net.offline config knob +CARGO_DEPEND=">=virtual/cargo-1.37.0" case ${EAPI} in 6) DEPEND="${CARGO_DEPEND}";; -- cgit v1.2.3-65-gdbad