Skip to content

Commit 3be057d

Browse files
committed
Set the resolver in the top-level Cargo.toml that of to the 2021 edition.
Previously, compiling the library on a recent Rust version gave a bunch of warnings: warning: some crates are on edition 2021 which defaults to `resolver = "2"`, but virtual workspaces default to `resolver = "1"` 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 This change eliminates those warnings by setting the resolver to version 2.
1 parent 6b529d5 commit 3be057d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
# limitations under the License.
1414

1515
[workspace]
16+
resolver = "2"
1617
members = [
1718
"googletest_macro",
1819
"googletest",

0 commit comments

Comments
 (0)