Skip to content

Conversation

@stefano-garzarella
Copy link
Member

After updating rust edition to 2021, cargo complains about the resolver:

warning: some crates are on edition 2021 which defaults to
`resolver = "2"`, but virtual workspaces default to
`resolver = "1"`
note: to keep the current resolver, specify
`workspace.resolver = "1"` in the workspace root's manifest
note: to use the edition 2021 resolver, specify
`workspace.resolver = "2"` in the workspace root's manifest

Let's specify to use the edition 2021 resolver.

After updating rust edition to 2021, cargo complains about the
resolver:

    warning: some crates are on edition 2021 which defaults to
    `resolver = "2"`, but virtual workspaces default to
    `resolver = "1"`
    note: to keep the current resolver, specify
    `workspace.resolver = "1"` in the workspace root's manifest
    note: to use the edition 2021 resolver, specify
    `workspace.resolver = "2"` in the workspace root's manifest

Let's specify to use the edition 2021 resolver.

Signed-off-by: Stefano Garzarella <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants