commit:     3a389761c3687d1ee5c25eaf5b5333ab15e49ee8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 20 23:45:37 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 20 23:45:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a389761

dev-lang/rust-bin: add commentary wrt unpack vs multilib

Bug: https://bugs.gentoo.org/964423
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/rust-bin/rust-bin-1.91.0_beta20251009.ebuild | 4 +++-
 dev-lang/rust-bin/rust-bin-9999.ebuild                | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-lang/rust-bin/rust-bin-1.91.0_beta20251009.ebuild 
b/dev-lang/rust-bin/rust-bin-1.91.0_beta20251009.ebuild
index 78587541bc66..fb8db3ffc6be 100644
--- a/dev-lang/rust-bin/rust-bin-1.91.0_beta20251009.ebuild
+++ b/dev-lang/rust-bin/rust-bin-1.91.0_beta20251009.ebuild
@@ -148,8 +148,10 @@ src_unpack() {
                fi
 
                default_src_unpack
-
        fi
+
+       # We only want to do this for the native ABI. Non-native ABIs are
+       # handled differently in multilib_src_install.
        case ${PV} in
                *9999*)
                        mv "${WORKDIR}/rust-nightly-$(rust_abi)" "${S}" || die

diff --git a/dev-lang/rust-bin/rust-bin-9999.ebuild 
b/dev-lang/rust-bin/rust-bin-9999.ebuild
index ce246284708a..f702f1858239 100644
--- a/dev-lang/rust-bin/rust-bin-9999.ebuild
+++ b/dev-lang/rust-bin/rust-bin-9999.ebuild
@@ -144,8 +144,10 @@ src_unpack() {
                fi
 
                default_src_unpack
-
        fi
+
+       # We only want to do this for the native ABI. Non-native ABIs are
+       # handled differently in multilib_src_install.
        case ${PV} in
                *9999*)
                        mv "${WORKDIR}/rust-nightly-$(rust_abi)" "${S}" || die

Reply via email to