-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Remove Compilation.libraries #6193
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
@bors: r+ |
📌 Commit 6c6947b has been approved by |
…ichton Remove Compilation.libraries Actioning #5651 (comment)
💔 Test failed - status-appveyor |
For context, I left that in when I removed its use in #5651 because it was used by cargo-bloat and semverver. It looks like cargo-bloat has since been rewritten to no longer use cargo. |
The failure looks spurious btw. |
@bors: retry |
…ichton Remove Compilation.libraries Actioning #5651 (comment)
☀️ Test successful - status-appveyor, status-travis |
So what should rust-semverver use now to find the path of rlibs from a Since the usage of this field by rust-semverver was known, I suppose there must be a way to do that, but after staring at this and related PRs for 45 minutes and the cargo docs, I have no idea how to do that. It would have been nice to give that project a heads up, e.g. by filling an issue, with migration instructions, so that one doesn't have to spend this much time trying to figure out things 2 months later.. |
The issue is that there is not a simple, correct mapping anymore. There might be multiple lib targets with different settings. I took a look at the semverver code for a bit. I'm wondering if it really needs to use cargo as a library. Would it be possible to just call the cargo cli, and get the rlib path from the JSON output? |
I've opened an issue about this on |
Actioning #5651 (comment)