Skip to content

Regression in 1.26: Cargo.toml parsing of a crate fails #49946

@pietroalbini

Description

@pietroalbini
error: failed to parse manifest at `/source/Cargo.toml`

Caused by:
  the target `polylabel` is a binary and can't have any crate-types set (currently "bin")

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-cargoRelevant to the cargo team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions