We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e95db59 commit eafff1aCopy full SHA for eafff1a
src/bootstrap/src/utils/tracing.rs
@@ -168,7 +168,7 @@ mod inner {
168
impl TracingGuard {
169
pub fn copy_to_dir(self, dir: &std::path::Path) {
170
drop(self.guard);
171
- std::fs::rename(&self.chrome_tracing_path, dir.join("chrome-trace.json")).unwrap();
+ crate::utils::helpers::move_file(&self.chrome_tracing_path, dir.join("chrome-trace.json")).unwrap();
172
}
173
174
0 commit comments