Skip to content

Commit

Permalink
chore: allow renamed and removed lints on docs build (#2344)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hawkw committed Apr 21, 2023
1 parent eb6c6a3 commit 7c09e57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
[build.environment]
RUSTDOCFLAGS="""
-D warnings \
--force-warn renamed-and-removed-lints \
--cfg docsrs \
--cfg tracing_unstable
"""
Expand Down

0 comments on commit 7c09e57

Please sign in to comment.