about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-06-19 17:36:32 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2023-06-19 17:36:32 +0000
commit932645473c99e3fe45682a51a4bcfbfa0ffe68c2 (patch)
tree1716c9049c0e7cfef5e7fc4980d0c0996a6cd2f3
parent0b3060138b753b5e1b60d561f913d60acef8636b (diff)
downloadrust-932645473c99e3fe45682a51a4bcfbfa0ffe68c2.tar.gz
rust-932645473c99e3fe45682a51a4bcfbfa0ffe68c2.zip
Fix warning about the cargo resolver to use
-rw-r--r--build_system/prepare.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/build_system/prepare.rs b/build_system/prepare.rs
index e31e39a483f..3ee2e8f4a4e 100644
--- a/build_system/prepare.rs
+++ b/build_system/prepare.rs
@@ -27,6 +27,7 @@ pub(crate) fn prepare_stdlib(dirs: &Dirs, rustc: &Path) {
         STDLIB_SRC.to_path(dirs).join("Cargo.toml"),
         r#"
 [workspace]
+resolver = "1"
 members = ["./library/sysroot"]
 
 [patch.crates-io]