eclass/cargo: Sync with Gentoo

It's from Gentoo commit e759d3dcff09e271735620b525333d091e085e2d.
This commit is contained in:
Flatcar Buildbot 2024-01-01 07:12:25 +00:00 committed by Krzesimir Nowak
parent 3e21b50985
commit d8b23cf9f2

View File

@ -35,11 +35,6 @@ case ${EAPI} in
# 1.52 may need setting RUSTC_BOOTSTRAP envvar for some crates # 1.52 may need setting RUSTC_BOOTSTRAP envvar for some crates
# 1.53 added cargo update --offline, can be used to update vulnerable crates from pre-fetched registry without editing toml # 1.53 added cargo update --offline, can be used to update vulnerable crates from pre-fetched registry without editing toml
RUST_DEPEND=">=virtual/rust-1.53" RUST_DEPEND=">=virtual/rust-1.53"
if [[ -z ${CRATES} && "${PV}" != *9999* ]]; then
eerror "undefined CRATES variable in non-live EAPI=8 ebuild"
die "CRATES variable not defined"
fi
;; ;;
esac esac