Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix workspace resolver warning #2676

Merged

Conversation

acheroncrypto
Copy link
Collaborator

@acheroncrypto acheroncrypto commented Oct 23, 2023

Problem

cargo commands give a warning about the workspace resolver in newer versions of Rust.

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

Summary of changes

Specify resolver = "2" in:

  • Repository Cargo.toml
  • Workspace Cargo.toml crated using anchor init
  • tests/*/Cargo.toml

@vercel
Copy link

vercel bot commented Oct 23, 2023

@acheroncrypto is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@acheroncrypto acheroncrypto merged commit 150fc3e into coral-xyz:master Oct 30, 2023
47 of 48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant