Skip to content

Cannot build from a virtual workspace in Rust 1.40.0 #227

Description

@AlephAlpha

After updating to Rust 1.40, I can no longer run cargo web build -p package in a virtual workspace. it says that:

error: error: --features is not allowed in the root of a virtual workspace

I found this line in the Chagelog of Cargo 1.40:

--features and --no-default-features in the root of a virtual workspace will now generate an error instead of being ignored. rust-lang/cargo#7507

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions