From 946836265992d95e6d6d084c13b89c0210bee0a6 Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Sat, 23 May 2020 09:16:52 -0400 Subject: [PATCH] Create target directory This is no longer packaged with Rust due to rust-lang/rust#72000. --- collector/src/bin/rustc-perf-collector/sysroot.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/collector/src/bin/rustc-perf-collector/sysroot.rs b/collector/src/bin/rustc-perf-collector/sysroot.rs index e1882a191..b0c1f0a2a 100644 --- a/collector/src/bin/rustc-perf-collector/sysroot.rs +++ b/collector/src/bin/rustc-perf-collector/sysroot.rs @@ -129,6 +129,7 @@ rustc-std-workspace-std = { path = 'src/tools/rustc-std-workspace-std' } // Move all of the `rlib` files into the main sysroot. let sysroot_target_lib_dir = sysroot_rustlib_dir.join(&self.triple).join("lib"); + fs::create_dir_all(&sysroot_target_lib_dir)?; for entry in fs::read_dir(local_build_target_dir.join("release/deps"))? { let entry = entry?; let path = entry.path();