Skip to content

Commit

Permalink
Create target directory
Browse files Browse the repository at this point in the history
This is no longer packaged with Rust due to rust-lang/rust#72000.
  • Loading branch information
Mark-Simulacrum committed May 23, 2020
1 parent 2ef8bc7 commit 9468362
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions collector/src/bin/rustc-perf-collector/sysroot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 9468362

Please sign in to comment.