Skip to content

[Rust Toolchain] Cargo workspace members field with wildcard doesn't resolve #227

@hbjydev

Description

@hbjydev

So when using a Cargo.toml that specifies member crates using wildcards (i.e. ./crates/lib/*), Vorpal tries to use that value exactly to look up packages, instead of resolving the wildcard as a glob like Cargo does.

Minimal Cargo.toml to reproduce:

[workspace]
members = [
  "./crates/*"
]
resolver = "2"

Then create 2 packages in crates/ and try to build one of them under Vorpal.

The error I get is:

Cargo.toml not found: ./crates/*/Cargo.toml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions