Skip to content

Commit

Permalink
Fix new Rust warning about wrong resolver version
Browse files Browse the repository at this point in the history
> warning: virtual workspace defaulting to `resolver = "1"` despite one
> or more workspace members being on edition 2021 which implies
> `resolver = "2"`
> 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
> note: for more details see https://doc.rust-lang.org/cargo/reference/
> resolver.html#resolver-versions

So just set resolver = "2" in the root Cargo.toml, as instructed.
  • Loading branch information
legoktm committed Nov 29, 2023
1 parent b1ef039 commit 20d1ef4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
members = [
"redwood",
]

resolver = "2"

0 comments on commit 20d1ef4

Please sign in to comment.