Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rust/
Date: Sun, 25 Sep 2022 17:29:01
Message-Id: 1664126724.3d08936b268a0b83d91b2085c8588b6e3cbe88bc.gyakovlev@gentoo
1 commit: 3d08936b268a0b83d91b2085c8588b6e3cbe88bc
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 25 17:24:43 2022 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 25 17:25:24 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d08936b
7
8 dev-lang/rust: fix alt-abi support, filter out flto in 1.64.0
9
10 Bug: https://bugs.gentoo.org/866231
11 Closes: https://bugs.gentoo.org/872815
12 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
13
14 dev-lang/rust/{rust-1.64.0.ebuild => rust-1.64.0-r1.ebuild} | 5 ++---
15 1 file changed, 2 insertions(+), 3 deletions(-)
16
17 diff --git a/dev-lang/rust/rust-1.64.0.ebuild b/dev-lang/rust/rust-1.64.0-r1.ebuild
18 similarity index 99%
19 rename from dev-lang/rust/rust-1.64.0.ebuild
20 rename to dev-lang/rust/rust-1.64.0-r1.ebuild
21 index 9f7e86a87d56..d506b1ed43fb 100644
22 --- a/dev-lang/rust/rust-1.64.0.ebuild
23 +++ b/dev-lang/rust/rust-1.64.0-r1.ebuild
24 @@ -294,14 +294,13 @@ src_prepare() {
25 }
26
27 src_configure() {
28 - use system-llvm && filter-flags '-flto*' # https://bugs.gentoo.org/862109
29 + filter-flags '-flto*' # https://bugs.gentoo.org/862109 https://bugs.gentoo.org/866231
30
31 local rust_target="" rust_targets="" arch_cflags use_libcxx="false"
32 - local chost_target="$(get_abi_CHOST ${v##*.})"
33
34 # Collect rust target names to compile standard libs for all ABIs.
35 for v in $(multilib_get_enabled_abi_pairs); do
36 - rust_targets+=",\"$(rust_abi ${chost_target})\""
37 + rust_targets+=",\"$(rust_abi $(get_abi_CHOST ${v##*.}))\""
38 done
39 if use wasm; then
40 rust_targets+=",\"wasm32-unknown-unknown\""