You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: --features is not allowed in the root of a virtual workspace
while
cd foo
cargo build --features=bar
is accepted. It's surprising that specifying -p is not equivalent to building in that package's directory.
I expected that when -p points to a specific package, Cargo wouldn't try to use non-existent features from the root manifest (#4942), but instead look for the features in that package's own manifest.
The text was updated successfully, but these errors were encountered:
If I have a workspace:
and run in the root of the workspace:
Cargo fails with an error #7742:
while
cd foo cargo build --features=bar
is accepted. It's surprising that specifying
-p
is not equivalent to building in that package's directory.I expected that when
-p
points to a specific package, Cargo wouldn't try to use non-existent features from the root manifest (#4942), but instead look for the features in that package's own manifest.The text was updated successfully, but these errors were encountered: