Skip to content

Commit

Permalink
build: Set resolver = "2" at the workspace's Cargo.toml
Browse files Browse the repository at this point in the history
This is the default resolver for the 2021 edition, but needs to be set
manually in virtual workspaces.

https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html#detail
  • Loading branch information
Chris Pick authored and vadorovsky committed May 21, 2024
1 parent d9ce1b7 commit 2ad8773
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[workspace]
resolver = "2"
members = ["xtask", "{{project-name}}", "{{project-name}}-common"]

0 comments on commit 2ad8773

Please sign in to comment.