-
Notifications
You must be signed in to change notification settings - Fork 217
Closed
Labels
C-build-failureCategory: This is a crate that failed to buildCategory: This is a crate that failed to buildE-easyEffort: Should be easy to implement and would make a good first PREffort: Should be easy to implement and would make a good first PR
Description
Some crates like to put deny (warnings) in their crate root. This is fine for developing locally, but can cause docs.rs builds to fail since new lints may have been added in nightly. docs.rs can avoid these unnecessary build failures by passing --cap-lints warn to rustdoc.
Example failure: https://docs.rs/crate/ring/0.16.11/builds/218514
See also: https://doc.rust-lang.org/rustc/lints/levels.html
I think the best way to do this would be to add --cap-lints to RUSTDOCFLAGS in execute_build.
Metadata
Metadata
Assignees
Labels
C-build-failureCategory: This is a crate that failed to buildCategory: This is a crate that failed to buildE-easyEffort: Should be easy to implement and would make a good first PREffort: Should be easy to implement and would make a good first PR