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 authored Oct 10, 2022
1 parent 4848d7d commit 1497179
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 \
--html-before-content /opt/build/repo/assets/warning.html \
--html-in-header /opt/build/repo/assets/noindex.html \
Expand Down

0 comments on commit 1497179

Please sign in to comment.