Open
Description
deny(warnings)
is usually not something we want to hard-code in the sources, it should only be set on CI -- otherwise lints can introduce frustrating roadblocks when they don't have to. I encountered this as part of this recent problem:
Line 50 in 19e02c8
Would it be possible to set this flag inside ./x
instead, and make it depend on the deny-warnings
setting in bootstrap.toml
? That would make it more consistent with the main crate builds as well. It seems this could be achieved by setting RUSTDOCFLAGS="--doctest-build-arg -D warnings -Zunstable-options"
.