Skip to content

Commit

Permalink
Explicit set workspace.resolver = "1"
Browse files Browse the repository at this point in the history
rust-lang/cargo#10910 starts emitting warning if resolver is not set
for 2021 edition package. We want to surpress the warning for now.
  • Loading branch information
weihanglo committed May 30, 2023
1 parent f0411ff commit 5abff37
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[workspace]
resolver = "1"
members = [
"compiler/rustc",
"library/std",
Expand Down
2 changes: 1 addition & 1 deletion library/portable-simd/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]

resolver = "1"
members = [
"crates/core_simd",
"crates/std_float",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.0.0"
edition = "2021"

[workspace]
resolver = "1"

[dependencies]
r-efi = "4.1.0"
1 change: 1 addition & 0 deletions src/etc/test-float-parse/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ edition = "2021"
publish = false

[workspace]
resolver = "1"

[dependencies]
rand = "0.4"
Expand Down

0 comments on commit 5abff37

Please sign in to comment.