mirror of
https://github.com/tokio-rs/tracing.git
synced 2025-09-30 14:30:42 +00:00
chore: deny warnings in docs builds
This way, we'll get a build failure on PRs if the docs are broken. I really thought we already did this, but apparently, we don't? Signed-off-by: Eliza Weisman <eliza@buoyant.io>
This commit is contained in:
parent
d8680547b5
commit
46a3d96952
@ -3,9 +3,14 @@
|
||||
rustup install nightly --profile minimal \
|
||||
&& cargo doc --no-deps --all-features
|
||||
"""
|
||||
environment = { RUSTDOCFLAGS= "--cfg docsrs" }
|
||||
publish = "target/doc"
|
||||
|
||||
[build.environment]
|
||||
RUSTDOCFLAGS="""
|
||||
-D warnings \
|
||||
--cfg docsrs
|
||||
"""
|
||||
|
||||
[[redirects]]
|
||||
from = "/"
|
||||
to = "/tracing"
|
||||
|
Loading…
x
Reference in New Issue
Block a user