-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow missing source annotations for path deps #1645
Allow missing source annotations for path deps #1645
Conversation
Is there a way to make this more explicit? In general I think that path packages are a hard thing to support correctly but agree that they can be very useful for this |
We could try parsing the "id": "zerocopy 0.6.1 (path+file:///path/to/zerocopy)" It's worth noting that although the |
Do you have a link to this? I care most that the case of something being a path dependency is clear but if it can be explicitly represented (even by some internal container) that'd be great. Can you also provide some kind of end to end test for this change? I'm really concerned about introducing any support for paths since I think it could lead to really confusing issues down the road where people start using relative paths outside the workspace. |
The documentation for the output of
Sure, those are all in
The only goal of this change is to fix #1631, so if there's another approach that would work and you like better then I'm more than happy to pursue that instead. |
We also have the manifest path in the |
Are there any updates on this? |
I have a similar problem. Is there any other way to use [patch] through bazel? |
I've been able to get past the no source info error by forking the patched dependency and patching with a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add some unit testing for this?
Closing this PR, the work for this has been incorporated into #1902. |
Fixes #1631. Missing source annotations are expected when providing local packages or patching crates that would be vendored.