Skip to content

Commit

Permalink
Fix cargo resolver warning
Browse files Browse the repository at this point in the history
remove following warnings:
warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
  • Loading branch information
XuJiandong authored and jjyr committed Apr 2, 2024
1 parent a6b9b66 commit 6764555
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,4 @@ gcd = "2.3.0"

[workspace]
exclude = ["test"]
resolver = "2"
1 change: 1 addition & 0 deletions contracts/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[workspace]
members = ["ckb-std-tests", "exec-callee", "exec-caller", "exec-caller-by-code-hash", "spawn-caller", "spawn-caller-by-code-hash", "spawn-callee"]
resolver = "2"

[profile.release]
overflow-checks = true
Expand Down

0 comments on commit 6764555

Please sign in to comment.