From d8b23cf9f2d6a10627db13cf7aa5c6787c0bc021 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 1 Jan 2024 07:12:25 +0000 Subject: [PATCH] eclass/cargo: Sync with Gentoo It's from Gentoo commit e759d3dcff09e271735620b525333d091e085e2d. --- .../src/third_party/portage-stable/eclass/cargo.eclass | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/cargo.eclass b/sdk_container/src/third_party/portage-stable/eclass/cargo.eclass index 70b6008d9c..1e1a6e3ddf 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/cargo.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/cargo.eclass @@ -35,11 +35,6 @@ case ${EAPI} in # 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 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