commit: 0eb1e3806ed6e8dbb9b31c2c0534242259a77c52
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 18 19:16:37 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Jun 18 19:22:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eb1e380
dev-lang/rust: specify stage in toml instead cmdline
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
dev-lang/rust/rust-1.53.0.ebuild | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dev-lang/rust/rust-1.53.0.ebuild b/dev-lang/rust/rust-1.53.0.ebuild
index 4a883105625..80e500a51ff 100644
--- a/dev-lang/rust/rust-1.53.0.ebuild
+++ b/dev-lang/rust/rust-1.53.0.ebuild
@@ -305,6 +305,9 @@ src_configure() {
experimental-targets = ""
link-shared = $(toml_usex system-llvm)
[build]
+ build-stage = 2
+ test-stage = 2
+ doc-stage = 2
build = "${rust_target}"
host = ["${rust_target}"]
target = [${rust_targets}]
@@ -500,8 +503,7 @@ src_compile() {
(
IFS=$'\n'
env $(cat "${S}"/config.env) RUST_BACKTRACE=1\
- "${EPYTHON}" ./x.py build --stage 2 \
- -vv --config="${S}"/config.toml -j$(makeopts_jobs) ||
die
+ "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml
-j$(makeopts_jobs) || die
)
}