cargo tree
does not report a proc-macro duplicate in a workspace
#10651
Labels
A-features2
Area: issues specifically related to the v2 feature resolver
C-bug
Category: bug
Command-tree
S-triage
Status: This issue is waiting on initial triage.
Problem
With
resolver = "2"
, and a workspace with a proc-macro, duplicates of a shared dependency are not displayed incargo tree
in some situations.Steps
The following cargo test demonstrates the problem.
The problem is that cargo currently shows:
Indicating that the proc-macro is using the same
foo
. However it is not,foo
is built twice. Once as a workspace root (with a dependency onshared
withdefault,std
features), and once as a proc-macro dependency (with a dependency onshared
with only thestd
feature).Possible Solution(s)
No response
Notes
No response
Version
The text was updated successfully, but these errors were encountered: