Skip to content

resolver=2 still needed for workspaces when using rust 2021 #90148

Closed
@rukai

Description

@rukai

This repo demonstrates the problem:
https://github.com/rukai/resolver2-workspace-bug

It includes wgpu 0.11 which requires resolver 2.

  • If you include resolver = 2 in the workspace Cargo.toml it builds fine.
  • If you remove resolver = 2 from the workspace Cargo.toml it fails with resolver = 1 related errors.

Meta

Occurs on:

  • cargo 1.57.0-nightly (7fbbf4e8f 2021-10-19)
  • cargo 1.56.0 (4ed5d137b 2021-10-04)

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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions