commit:     320291adb082ac66aed82ed871384644f353563a
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  7 21:53:18 2023 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Jun  7 22:02:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=320291ad

dev-lang/rust-bin: keyword 1.70.0, restrict strip

Issue: https://github.com/rust-lang/rust/issues/112286
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 dev-lang/rust-bin/rust-bin-1.70.0.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-lang/rust-bin/rust-bin-1.70.0.ebuild 
b/dev-lang/rust-bin/rust-bin-1.70.0.ebuild
index 2624c2403c56..93ef429779a2 100644
--- a/dev-lang/rust-bin/rust-bin-1.70.0.ebuild
+++ b/dev-lang/rust-bin/rust-bin-1.70.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="$(rust_all_arch_uris ${MY_P})
 
 LICENSE="|| ( MIT Apache-2.0 ) BSD BSD-1 BSD-2 BSD-4 UoI-NCSA"
 SLOT="stable"
-#KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86"
 IUSE="clippy cpu_flags_x86_sse2 doc prefix rust-analyzer rust-src rustfmt"
 
 DEPEND=""
@@ -39,6 +39,10 @@ BDEPEND="
 
 REQUIRED_USE="x86? ( cpu_flags_x86_sse2 )"
 
+# stripping rust may break it (at least on x86_64)
+# https://github.com/rust-lang/rust/issues/112286
+RESTRICT="strip"
+
 QA_PREBUILT="
        opt/${P}/bin/.*
        opt/${P}/lib/.*.so

Reply via email to