diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-04-27 02:20:46 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-04-27 04:47:57 -0700 |
commit | c00e1430a4e004a7726198d1ebab40031b692fbb (patch) | |
tree | 9a5348f811215c46700149fc271c90090db808d3 /dev-lang | |
parent | dev-lang/rust: explicitly set bootstrap rustfmt (diff) | |
download | gentoo-c00e1430a4e004a7726198d1ebab40031b692fbb.tar.gz gentoo-c00e1430a4e004a7726198d1ebab40031b692fbb.tar.bz2 gentoo-c00e1430a4e004a7726198d1ebab40031b692fbb.zip |
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 <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/rust/rust-1.51.0-r2.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-lang/rust/rust-1.51.0-r2.ebuild b/dev-lang/rust/rust-1.51.0-r2.ebuild index 4cb066468400..602ca8584223 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] |