-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
resolver = "2" is not the default in workspaces #9996
Labels
C-bug
Category: bug
Comments
Thanks for the report! The resolver is inherently a global setting, and in a workspace can only be set at the workspace level. The edition cannot be set globally (tracked in #5784), so it must be set with the I'm going to close as this is working as intended. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Prior to Rust 2021, when building
wgpu
on windows withoutresolver = "2"
, I get this error:Now with Rust 2021, this is fixed for crates, but it doesn't seem to be fixed in workspaces.
Steps
cargo new foo
and use this configcargo build
and get wgpu's resolver error.Possible Solution(s)
After searching the code, I found
cargo/src/cargo/core/workspace.rs
Line 184 in 72aee9e
which might be the problem.
Notes
No response
Version
The text was updated successfully, but these errors were encountered: