WIP Add bin/cdylib/staticlib suffix for artifact deps#14658
WIP Add bin/cdylib/staticlib suffix for artifact deps#14658elchukc wants to merge 1 commit intorust-lang:masterfrom
Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @weihanglo (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
| self.targets().iter().any(|target| target.proc_macro()) | ||
| } | ||
| // TODO fix this. For now, just wanted it to return a plausible value. Must figure out why .kinds() returns a Vec. | ||
| /// Gets crate-type in { .., artifact = <crate-type> } of this package |
There was a problem hiding this comment.
This returns ArtifactKind of a package's dependencies, not the ArtifactKind of the package itself. This is why (bin/cdylib/staticlib) suffixes currently print on the wrong line.
- expected
+ actual
- foo v0.0.0 ([ROOT]/foo)
-└── bindep v0.0.0 (bin) ([ROOT]/foo/bindep)
+ foo v0.0.0 (bin) ([ROOT]/foo)
+ └── bindep v0.0.0 ([ROOT]/foo/bindep)|
☔ The latest upstream changes (presumably #14593) made this pull request unmergeable. Please resolve the merge conflicts. |
|
☔ The latest upstream changes (possibly 081d7ba) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Reminder, once the PR becomes ready for a review, use |
|
As there has been no contact with the author for over a year, I'm going to go ahead and close this. |
What does this PR try to resolve?
This is an implementation of cargo tree as defined in #10593 (comment)
Fixes #14804
How should we test and review this PR?
Additional information
r? @weihanglo