-
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.
fix: proc-macro example from dep no longer affects feature resolution
Previously when checking if a dependency is a proc-macro, the v2 feature resolve resolver v2 looks for `proc-macro = true` for every target of the dependency. However, it's impossible to depend on a non-lib target as a proc-macro. This fix switches to only check if `proc-macro = true` for `[lib]` target for a dependency.
- Loading branch information
Showing
2 changed files
with
21 additions
and
4 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