11734: internal: Bump `xshell` and fix `dist` r=lnicola a=lnicola

bors r+

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
This commit is contained in:
bors[bot] 2022-03-17 06:54:27 +00:00 committed by GitHub
commit 3bff42fd14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 9 deletions

8
Cargo.lock generated
View file

@ -2072,18 +2072,18 @@ checksum = "da260301476ad19a4733a0e930db8227a48ea04561e235a5102978145ec69fcc"
[[package]]
name = "xshell"
version = "0.2.0"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3332cab90be2998a2aacb6494db45344bd16dfcc43ff36c42255018c6bcc96be"
checksum = "4884417669886d3abff14feec797179526ade713f212e54ec08b19bc6bdc86aa"
dependencies = [
"xshell-macros",
]
[[package]]
name = "xshell-macros"
version = "0.2.0"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f47e54cffa76000b7641328ab3bb1e146f93a1690ab86c5909c656f49d91019c"
checksum = "37d92065701c3611323f96eac5475b995421fc7eb2bcba1336cdd80b9b2fb68f"
[[package]]
name = "xtask"

View file

@ -35,5 +35,5 @@ limit = { path = "../limit", version = "0.0.0" }
[dev-dependencies]
test_utils = { path = "../test_utils" }
sourcegen = { path = "../sourcegen" }
xshell = "0.2.0"
xshell = "0.2.1"
expect-test = "1.2.0-pre.1"

View file

@ -75,7 +75,7 @@ jemallocator = { version = "0.4.1", package = "tikv-jemallocator", optional = tr
[dev-dependencies]
expect-test = "1.2.0-pre.1"
jod-thread = "0.1.0"
xshell = "0.2.0"
xshell = "0.2.1"
test_utils = { path = "../test_utils" }
sourcegen = { path = "../sourcegen" }

View file

@ -10,4 +10,4 @@ rust-version = "1.57"
doctest = false
[dependencies]
xshell = "0.2.0"
xshell = "0.2.1"

View file

@ -10,6 +10,6 @@ rust-version = "1.57"
anyhow = "1.0.26"
flate2 = "1.0"
write-json = "0.1.0"
xshell = "0.2.0"
xshell = "0.2.1"
xflags = "0.2.1"
# Avoid adding more dependencies to this crate

View file

@ -17,7 +17,7 @@ impl flags::Metrics {
pub(crate) fn run(self, sh: &Shell) -> anyhow::Result<()> {
let mut metrics = Metrics::new(sh)?;
if !self.dry_run {
let _ = sh.remove_path("./target/release");
sh.remove_path("./target/release")?;
}
if !Path::new("./target/rustc-perf").exists() {
sh.create_dir("./target/rustc-perf")?;