-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #11647 - peterallin:peterallin/11617, r=weihanglo
Make cargo install report needed features ### What does this PR try to resolve? The problem described in issue #11617 where cargo tells the user, that no binaries are available because of the chosen features, but does not tell which features could be enabled to fix the situation. Fixes #11617. ### How should we test and review this PR? Try to cargo install a crate, where all binaries need some features enabled, without enabling the features and check the error message. The test suite already contains tests for this.
- Loading branch information
Showing
2 changed files
with
166 additions
and
3 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