Thanks to visit codestin.com
Credit goes to github.com

Skip to content

--feature-powerset --at-least-one-of silently drops unknown features #259

@rukai

Description

@rukai

If I run cargo hack --feature-powerset --at-least-one-of foo,bar where foo is not a feature of the project, foo will be dropped and the command will complete successfully.
This is surprising, I would expect the command to fail and report to the user that one of the specified features does not exist in the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-featuresArea: features (--feature-powerset, --each-feature, etc.)C-bugCategory: related to a bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions