about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorWesley Wiser <wwiser@gmail.com>2017-05-22 21:32:27 -0400
committerWesley Wiser <wwiser@gmail.com>2017-05-22 21:32:27 -0400
commit7eebabeb92c09baf444e8bb5e46fc262a22fe853 (patch)
treee4f405e7be7818be8dc20d976c0abcde730dab59 /src
parent173f6930bab90e62c1bd5dcc3b03d1bb8a1291a7 (diff)
downloadrust-7eebabeb92c09baf444e8bb5e46fc262a22fe853.tar.gz
rust-7eebabeb92c09baf444e8bb5e46fc262a22fe853.zip
Create the bin dir
Diffstat (limited to 'src')
-rw-r--r--src/bootstrap/dist.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs
index 0c1317c37c1..4ec148e9fc4 100644
--- a/src/bootstrap/dist.rs
+++ b/src/bootstrap/dist.rs
@@ -212,6 +212,7 @@ fn make_win_dist(rust_root: &Path, plat_root: &Path, target_triple: &str, build:
 
     //Copy runtime dlls next to rustc.exe
     let dist_bin_dir = rust_root.join("bin/");
+    fs::create_dir_all(&dist_bin_dir).expect("creating dist_bin_dir failed");
     for src in rustc_dlls {
         copy_to_folder(&src, &dist_bin_dir);
     }