Bump xshell and fix dist
This commit is contained in:
parent
c1cf2ef6f4
commit
be6d5001e4
8
Cargo.lock
generated
8
Cargo.lock
generated
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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" }
|
||||
|
@ -10,4 +10,4 @@ rust-version = "1.57"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
xshell = "0.2.0"
|
||||
xshell = "0.2.1"
|
||||
|
@ -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
|
||||
|
@ -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")?;
|
||||
|
Loading…
Reference in New Issue
Block a user