Skip to content

cargo-gpu can't find Cargo.toml from a package specified with cargo build -p {package} #121

@schell

Description

@schell

This is because internally I treated -p as a synonym for --shader-crate, but the latter is a path while the former specifies the name of a package.

These actually have to be distinct parameters with separate handling. -p needs to do a lookup in the workspace for the package to resolve the path to the crate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions