-
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
Workspaces: Cargo commands with explicit package should work from the root of the workspace. #3194
Comments
👍 Definitely the intention of workspaces! |
Hm, and how should profiles work with workspaces? I am looking at this line and I don't know what to do if we don't have a current package. One possible solution is to treat a single |
Oh that may be a bug from the RFC actually, it was intended that the workspace root configured all the profiles of one compilation. |
Can the virtual manifest contain |
Hm maybe not currently, but it in theory should be able to, yeah. |
Currently most Cargo commands do not work with workspaces. There is #2878 for providing
--all
flag. However oftentimes you want to execute command only on a single member.--package
argument should handle that, but currentlycargo test --package foo
will give you a virtual manifest error.The text was updated successfully, but these errors were encountered: