tracing/netlify.toml
Eliza Weisman 981b6bf919 chore: allow renamed and removed lints on docs build (#2344)
Currently, the Netlify docs are failing because of a warning that one of
the lints we explicitly enable is no longer a warning on nightly but
becoming a hard error. This is because the docs are built on nightly
with `-D warnings`, which denies all warnings...which seems not ideal.

For now, let's not remove that lint from the `deny` list, as it's still
a valid lint on stable. Instead, this PR explicitly allows that lint on
the docs build.
2023-04-21 16:59:51 -07:00

20 lines
388 B
TOML

[build]
command = """
rustup install nightly --profile minimal \
&& cargo doc --no-deps --all-features
"""
publish = "target/doc"
[build.environment]
RUSTDOCFLAGS="""
-D warnings \
--force-warn renamed-and-removed-lints \
--cfg docsrs \
--cfg tracing_unstable
"""
RUSTFLAGS="--cfg tracing_unstable"
[[redirects]]
from = "/"
to = "/tracing"