From faa6461d554562a9311ebe69577886d6169851b2 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Tue, 22 Jun 2021 16:19:24 -0700 Subject: [PATCH 1/2] Update cargo --- Cargo.lock | 27 ++++++++++++++++++++------- src/bootstrap/Cargo.toml | 2 +- src/tools/cargo | 2 +- 3 files changed, 22 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 86dd4695aa4fe..f2c834d142fba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -180,7 +180,7 @@ dependencies = [ "merge", "num_cpus", "once_cell", - "opener", + "opener 0.5.0", "pretty_assertions", "serde", "serde_json", @@ -195,7 +195,9 @@ version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "31accafdb70df7871592c058eca3985b71104e15ac32f64706022c58867da931" dependencies = [ + "lazy_static", "memchr", + "regex-automata", ] [[package]] @@ -253,7 +255,7 @@ checksum = "81a18687293a1546b67c246452202bbbf143d239cb43494cc163da14979082da" [[package]] name = "cargo" -version = "0.55.0" +version = "0.56.0" dependencies = [ "anyhow", "atty", @@ -288,11 +290,10 @@ dependencies = [ "log", "memchr", "num_cpus", - "opener", + "opener 0.5.0", "openssl", "percent-encoding 2.1.0", "pretty_env_logger", - "rand 0.8.3", "rustc-workspace-hack", "rustfix 0.6.0", "semver 1.0.3", @@ -375,10 +376,12 @@ dependencies = [ "flate2", "git2", "glob", + "itertools 0.10.0", "lazy_static", "remove_dir_all", "serde_json", "tar", + "termcolor", "toml", "url 2.2.2", ] @@ -575,7 +578,7 @@ dependencies = [ "bytecount", "clap", "itertools 0.9.0", - "opener", + "opener 0.4.1", "regex", "shell-escape", "walkdir", @@ -2418,6 +2421,16 @@ dependencies = [ "winapi 0.3.9", ] +[[package]] +name = "opener" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4ea3ebcd72a54701f56345f16785a6d3ac2df7e986d273eb4395c0b01db17952" +dependencies = [ + "bstr", + "winapi 0.3.9", +] + [[package]] name = "openssl" version = "0.10.33" @@ -5158,9 +5171,9 @@ dependencies = [ [[package]] name = "termcolor" -version = "1.1.0" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb6bfa289a4d7c5766392812c0a1f4c1ba45afa1ad47803c11e1f407d846d75f" +checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4" dependencies = [ "winapi-util", ] diff --git a/src/bootstrap/Cargo.toml b/src/bootstrap/Cargo.toml index d1e666936f88a..6fb7a1c088f33 100644 --- a/src/bootstrap/Cargo.toml +++ b/src/bootstrap/Cargo.toml @@ -48,7 +48,7 @@ toml = "0.5" lazy_static = "1.3.0" time = "0.1" ignore = "0.4.10" -opener = "0.4" +opener = "0.5" merge = "0.1.0" once_cell = "1.7.2" diff --git a/src/tools/cargo b/src/tools/cargo index 44456677b5d1d..9233aa06c8018 160000 --- a/src/tools/cargo +++ b/src/tools/cargo @@ -1 +1 @@ -Subproject commit 44456677b5d1d82fe981c955dc5c67734b31f340 +Subproject commit 9233aa06c801801cff75df65df718d70905a235e From d296ea09d3f2453bad91cb4d6f00b71084e0d282 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Wed, 23 Jun 2021 07:41:34 -0700 Subject: [PATCH 2/2] Add bstr to rustc-workspace-hack for rustfmt/cargo. --- Cargo.lock | 1 + src/tools/rustc-workspace-hack/Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index f2c834d142fba..17378cb4a2d07 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3571,6 +3571,7 @@ dependencies = [ name = "rustc-workspace-hack" version = "1.0.0" dependencies = [ + "bstr", "byteorder", "crossbeam-utils 0.8.3", "libc", diff --git a/src/tools/rustc-workspace-hack/Cargo.toml b/src/tools/rustc-workspace-hack/Cargo.toml index d39cb597b21c8..4a4b26da54caf 100644 --- a/src/tools/rustc-workspace-hack/Cargo.toml +++ b/src/tools/rustc-workspace-hack/Cargo.toml @@ -61,6 +61,7 @@ features = [ ] [dependencies] +bstr = { version = "0.2.13", features = ["default"] } byteorder = { version = "1", features = ['default', 'std'] } curl-sys = { version = "0.4.13", features = ["http2", "libnghttp2-sys"], optional = true } crossbeam-utils = { version = "0.8.0", features = ["nightly"] }