Skip to content

Workspaces: Cargo commands with explicit package should work from the root of the workspace. #3194

@matklad

Description

@matklad

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 currently cargo test --package foo will give you a virtual manifest error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions