Consider interaction between artifact dependencies and required-features #12061
Labels
C-bug
Category: bug
S-needs-rfc
Status: Needs an RFC to make progress.
Z-bindeps
Nightly: binary artifact dependencies
Problem
When you use artifact dependency to depend on a binary that has required-features, those features do not get enabled automatically. Should they?
This was not addressed in the artifact dependencies RFC.
Steps
For example the
lalrpop
package currently contains this binary crate:If something depends on that binary as an artifact dependency, it will fail to build.
Possible Solution(s)
I would prefer if required-features of an artifact dependency automatically got enabled.
Notes
Mentioning artifact dependencies tracking issue: #9096
Version
The text was updated successfully, but these errors were encountered: