Explicit set workspace.resolver = "1"

rust-lang/cargo#10910 starts emitting warning if resolver is not set
for 2021 edition package. We want to surpress the warning for now.
This commit is contained in:
Weihang Lo 2023-05-30 23:58:20 +01:00
parent f0411ffceb
commit 5abff3753a
No known key found for this signature in database
GPG Key ID: D7DBF189825E82E7
4 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,5 @@
[workspace] [workspace]
resolver = "1"
members = [ members = [
"compiler/rustc", "compiler/rustc",
"library/std", "library/std",

View File

@ -1,5 +1,5 @@
[workspace] [workspace]
resolver = "1"
members = [ members = [
"crates/core_simd", "crates/core_simd",
"crates/std_float", "crates/std_float",

View File

@ -4,6 +4,7 @@ version = "0.0.0"
edition = "2021" edition = "2021"
[workspace] [workspace]
resolver = "1"
[dependencies] [dependencies]
r-efi = "4.1.0" r-efi = "4.1.0"

View File

@ -5,6 +5,7 @@ edition = "2021"
publish = false publish = false
[workspace] [workspace]
resolver = "1"
[dependencies] [dependencies]
rand = "0.4" rand = "0.4"