-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(docscrape): must fail with bad build script
When running `cargo doc -Zrustdoc-scrape-example`, it performs additional type checks that a plain old `cargo doc` doesn't. That leads to some extra failure when adopting scrape-example for docs.rs. In de34d60 we introduced `unit_can_fail_for_docscraping` in order to make `-Zrustdoc-scrape-example` not fail whenever `cargo doc` builds. Build script executions were accidentally included in the list of fallible units. A plain `cargo doc` does fail when a build script fails. `-Zrustdoc-scrape-example` should follow that.
- Loading branch information
Showing
2 changed files
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters