mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Merge #11724
11724: minor: unblock metrics r=Veykril a=Veykril bors r+ Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
This commit is contained in:
commit
c1cf2ef6f4
@ -17,7 +17,7 @@ impl flags::Metrics {
|
|||||||
pub(crate) fn run(self, sh: &Shell) -> anyhow::Result<()> {
|
pub(crate) fn run(self, sh: &Shell) -> anyhow::Result<()> {
|
||||||
let mut metrics = Metrics::new(sh)?;
|
let mut metrics = Metrics::new(sh)?;
|
||||||
if !self.dry_run {
|
if !self.dry_run {
|
||||||
sh.remove_path("./target/release")?;
|
let _ = sh.remove_path("./target/release");
|
||||||
}
|
}
|
||||||
if !Path::new("./target/rustc-perf").exists() {
|
if !Path::new("./target/rustc-perf").exists() {
|
||||||
sh.create_dir("./target/rustc-perf")?;
|
sh.create_dir("./target/rustc-perf")?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user