-
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
Add required-features
to SerializedTarget
#5902
Add required-features
to SerializedTarget
#5902
Conversation
This will add it to `cargo metadata` output and will make it possible to enable features needed to build specific target.
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
One of the use cases is flycheck/flycheck-rust#68. Let me know, if it's not an ideal solution! |
@alexcrichton hi Alex! Does it look like smth we can merge? Thanks! |
Looks good to me, thanks! Could this also be renamed to |
@alexcrichton Sure! I've pushed additional commit -- is it ok, or should I squash both commits together? Thanks for you time! |
@bors: r+ Looks good to me, thanks! |
📌 Commit 349d264 has been approved by |
@bors: retry |
@bors: r+ |
💡 This pull request was already approved, no need to approve it again. |
📌 Commit 349d264 has been approved by |
@bors: r+ |
📌 Commit 9c38505 has been approved by |
⌛ Testing commit 9c38505 with merge 0dc7f69d0f1065b4a901b195acaa50795900d438... |
💔 Test failed - status-appveyor |
hm, environment error? |
@bors: retry ah yeah, that's likely spurious |
Looks like it would need the same treatment as |
…etadata-output, r=alexcrichton Add `required-features` to `SerializedTarget` This will add it to `cargo metadata` output and will make it possible to enable features needed to build specific target.
☀️ Test successful - status-appveyor, status-travis |
@alexcrichton any idea when this feature will be available in nightly? I've updated today and cargo is still from |
@little-arhat update PR posted at rust-lang/rust#53935, once it gets through it should be in the next nightly. |
This will add it to
cargo metadata
output and will make itpossible to enable features needed to build specific target.