From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 18B711382C5 for ; Tue, 27 Apr 2021 11:55:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DF21EE0886; Tue, 27 Apr 2021 11:55:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C5A92E0886 for ; Tue, 27 Apr 2021 11:55:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F259E341148 for ; Tue, 27 Apr 2021 11:55:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 914CA729 for ; Tue, 27 Apr 2021 11:55:47 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1619524077.c00e1430a4e004a7726198d1ebab40031b692fbb.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rust/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/rust/rust-1.51.0-r2.ebuild X-VCS-Directories: dev-lang/rust/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: c00e1430a4e004a7726198d1ebab40031b692fbb X-VCS-Branch: master Date: Tue, 27 Apr 2021 11:55:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: afbdd50a-e38e-4149-bb75-7d9a3e12d14b X-Archives-Hash: 822c77e0685ece72ad9b052850804c80 commit: c00e1430a4e004a7726198d1ebab40031b692fbb Author: Georgy Yakovlev gentoo org> AuthorDate: Tue Apr 27 09:20:46 2021 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Tue Apr 27 11:47:57 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c00e1430 dev-lang/rust: set deny-warnings=false if wasm + doc are requested This should unbreak USE="doc wasm" build and allow to aunmask doc useflag, which has been masked for quite some time. https://github.com/rust-lang/rust/issues/74976 https://github.com/rust-lang/rust/issues/76526 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Georgy Yakovlev gentoo.org> dev-lang/rust/rust-1.51.0-r2.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-lang/rust/rust-1.51.0-r2.ebuild b/dev-lang/rust/rust-1.51.0-r2.ebuild index 4cb06646840..602ca858422 100644 --- a/dev-lang/rust/rust-1.51.0-r2.ebuild +++ b/dev-lang/rust/rust-1.51.0-r2.ebuild @@ -292,7 +292,7 @@ src_configure() { rustc = "${rust_stage0_root}/bin/rustc" rustfmt = "${rust_stage0_root}/bin/rustfmt" docs = $(toml_usex doc) - compiler-docs = $(toml_usex doc) + compiler-docs = false submodules = false python = "${EPYTHON}" locked-deps = true @@ -330,6 +330,10 @@ src_configure() { dist-src = false remap-debuginfo = true lld = $(usex system-llvm false $(toml_usex wasm)) + # only deny warnings if doc+wasm are NOT requested, documenting stage0 wasm std fails without it + # https://github.com/rust-lang/rust/issues/74976 + # https://github.com/rust-lang/rust/issues/76526 + deny-warnings = $(usex wasm $(usex doc false true) true) backtrace-on-ice = true jemalloc = false [dist]