summaryrefslogtreecommitdiff
path: root/dev-lang/rust/rust-9999.ebuild
diff options
context:
space:
mode:
authorAlfred Wingate <parona@protonmail.com>2025-11-14 03:59:41 +0200
committerSam James <sam@gentoo.org>2025-11-15 06:58:55 +0000
commitc636faa7ff890966a19ae3790ef3e5eced53a140 (patch)
tree22db4eb136bd6e38b30954e637f3490861630a7f /dev-lang/rust/rust-9999.ebuild
parent09c08dd97d3ccd7a2ef883dacfb9550cf4fcdc3b (diff)
downloadgentoo-c636faa7ff890966a19ae3790ef3e5eced53a140.tar.gz
gentoo-c636faa7ff890966a19ae3790ef3e5eced53a140.tar.bz2
gentoo-c636faa7ff890966a19ae3790ef3e5eced53a140.zip
dev-lang/rust: don't generate extra lockfiles
This causes problems with stale crate induced breakage that upstream rust doesn't appear to be affected by. Notably this downgraded crates to older versions than what were available at src_prepare time. Removing this got me around this issue and I didn't encounter workspaces needing this. In this instance, we hit an issue w/ icu_properties being pinned when upstream CI doesn't seem to be hitting that: ``` Locking 510 packages to latest compatible versions ... Adding icu_properties v2.0.1 (available: v2.1.1) ``` That said, we seem to pass locked-deps in our bootstrap args, as upstream CI does at https://github.com/rust-lang/rust/blob/503dce33e2e2a5d2fe978b2723ab2a994cc27472/src/ci/run.sh#L66. [sam: Include an example.] Bug: https://github.com/unicode-org/icu4x/issues/7190 Signed-off-by: Alfred Wingate <parona@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/rust/rust-9999.ebuild')
-rw-r--r--dev-lang/rust/rust-9999.ebuild5
1 files changed, 0 insertions, 5 deletions
diff --git a/dev-lang/rust/rust-9999.ebuild b/dev-lang/rust/rust-9999.ebuild
index 2813dc022b11..eaaec6dd1152 100644
--- a/dev-lang/rust/rust-9999.ebuild
+++ b/dev-lang/rust/rust-9999.ebuild
@@ -324,11 +324,6 @@ src_unpack() {
}
src_prepare() {
- if [[ ${PV} = *9999* ]]; then
- # We need to update / generate lockfiles for the workspace
- ${CARGO} generate-lockfile --offline || die "Failed to generate lockfiles"
- fi
-
# Commit patches to the appropriate branch in proj/rust-patches.git
# then cut a new tag / tarball. Don't add patches to ${FILESDIR}
PATCHES=(