mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 23:25:03 +00:00
parent
b3ef934ccb
commit
25242fe93f
395 changed files with 14569 additions and 5755 deletions
|
@ -114,11 +114,11 @@ impl Drop for CpuSpan {
|
|||
match out {
|
||||
Ok(out) if out.status.success() => {
|
||||
let svg = profile_data.with_extension("svg");
|
||||
std::fs::write(&svg, &out.stdout).unwrap();
|
||||
std::fs::write(&svg, out.stdout).unwrap();
|
||||
eprintln!("Profile rendered to:\n\n {}\n", svg.display());
|
||||
}
|
||||
_ => {
|
||||
eprintln!("Failed to run:\n\n {:?}\n", cmd);
|
||||
eprintln!("Failed to run:\n\n {cmd:?}\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue