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)