Skip to content

Commit

Permalink
cargo: Set resolver = "2" and avoid warning
Browse files Browse the repository at this point in the history
Since a few Rust versions `cargo` complains:

  warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`

Avoid that by setting the resolver for the virtual manifest to `"2"`
explicitly.
  • Loading branch information
MarijnS95 committed Nov 21, 2023
1 parent 49cd189 commit 1c8570b
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,4 +1,5 @@
[workspace]
resolver = "2"
members = [
"ndk",
"ndk-sys",
Expand Down

0 comments on commit 1c8570b

Please sign in to comment.