diff options
| author | Weihang Lo <me@weihanglo.tw> | 2023-05-30 23:58:20 +0100 |
|---|---|---|
| committer | Weihang Lo <me@weihanglo.tw> | 2023-05-31 00:08:11 +0100 |
| commit | 5abff3753a7c806251a384295ea577b1ee0ddbff (patch) | |
| tree | c6f1606982e0e27d3cf0b434e7c51b0e3ffc2f57 | |
| parent | f0411ffcebcd7f75ac02ed45feb53ffd07b75398 (diff) | |
| download | rust-5abff3753a7c806251a384295ea577b1ee0ddbff.tar.gz rust-5abff3753a7c806251a384295ea577b1ee0ddbff.zip | |
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.
| -rw-r--r-- | Cargo.toml | 1 | ||||
| -rw-r--r-- | library/portable-simd/Cargo.toml | 2 | ||||
| -rw-r--r-- | src/ci/docker/host-x86_64/test-various/uefi_qemu_test/Cargo.toml | 1 | ||||
| -rw-r--r-- | src/etc/test-float-parse/Cargo.toml | 1 |
4 files changed, 4 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml index 8eb378afe42..6e84df5c693 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,4 +1,5 @@ [workspace] +resolver = "1" members = [ "compiler/rustc", "library/std", diff --git a/library/portable-simd/Cargo.toml b/library/portable-simd/Cargo.toml index 9802386e456..d1732aaec2f 100644 --- a/library/portable-simd/Cargo.toml +++ b/library/portable-simd/Cargo.toml @@ -1,5 +1,5 @@ [workspace] - +resolver = "1" members = [ "crates/core_simd", "crates/std_float", diff --git a/src/ci/docker/host-x86_64/test-various/uefi_qemu_test/Cargo.toml b/src/ci/docker/host-x86_64/test-various/uefi_qemu_test/Cargo.toml index fa8e5b3d080..2d17cf7d47a 100644 --- a/src/ci/docker/host-x86_64/test-various/uefi_qemu_test/Cargo.toml +++ b/src/ci/docker/host-x86_64/test-various/uefi_qemu_test/Cargo.toml @@ -4,6 +4,7 @@ version = "0.0.0" edition = "2021" [workspace] +resolver = "1" [dependencies] r-efi = "4.1.0" diff --git a/src/etc/test-float-parse/Cargo.toml b/src/etc/test-float-parse/Cargo.toml index 7ee19a0b6d9..6d7b227d0ad 100644 --- a/src/etc/test-float-parse/Cargo.toml +++ b/src/etc/test-float-parse/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" publish = false [workspace] +resolver = "1" [dependencies] rand = "0.4" |
