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: Fri, 18 Jun 2021 19:23:01
Message-Id: 1624044137.0eb1e3806ed6e8dbb9b31c2c0534242259a77c52.gyakovlev@gentoo
1 commit: 0eb1e3806ed6e8dbb9b31c2c0534242259a77c52
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 18 19:16:37 2021 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 18 19:22:17 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eb1e380
7
8 dev-lang/rust: specify stage in toml instead cmdline
9
10 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
11
12 dev-lang/rust/rust-1.53.0.ebuild | 6 ++++--
13 1 file changed, 4 insertions(+), 2 deletions(-)
14
15 diff --git a/dev-lang/rust/rust-1.53.0.ebuild b/dev-lang/rust/rust-1.53.0.ebuild
16 index 4a883105625..80e500a51ff 100644
17 --- a/dev-lang/rust/rust-1.53.0.ebuild
18 +++ b/dev-lang/rust/rust-1.53.0.ebuild
19 @@ -305,6 +305,9 @@ src_configure() {
20 experimental-targets = ""
21 link-shared = $(toml_usex system-llvm)
22 [build]
23 + build-stage = 2
24 + test-stage = 2
25 + doc-stage = 2
26 build = "${rust_target}"
27 host = ["${rust_target}"]
28 target = [${rust_targets}]
29 @@ -500,8 +503,7 @@ src_compile() {
30 (
31 IFS=$'\n'
32 env $(cat "${S}"/config.env) RUST_BACKTRACE=1\
33 - "${EPYTHON}" ./x.py build --stage 2 \
34 - -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die
35 + "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die
36 )
37 }