about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-12-18 01:07:35 +0000
committerbors <bors@rust-lang.org>2016-12-18 01:07:35 +0000
commit32d02bbafa26c4986428669c7aefc231b0cc3915 (patch)
tree9d6f3e19b89b1a0ce5a36d3c49d081a95e759989 /src
parentec8bb456241ef75f49a22327d5acfa6e1832a9b7 (diff)
parentbc06bbb4011848ff1d9fd5f8249607fcaee1fd37 (diff)
downloadrust-32d02bbafa26c4986428669c7aefc231b0cc3915.tar.gz
rust-32d02bbafa26c4986428669c7aefc231b0cc3915.zip
Auto merge of #38439 - alexcrichton:fix-nightlies, r=brson
rustbuild: Create directories in mingw dist

Previously we accidentally relied on the mingw dist step running last, but the
step just needed to ensure the directories were created.
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 60352cc894e..be51a6753fb 100644
--- a/src/bootstrap/dist.rs
+++ b/src/bootstrap/dist.rs
@@ -97,6 +97,7 @@ pub fn mingw(build: &Build, host: &str) {
     let name = format!("rust-mingw-{}", package_vers(build));
     let image = tmpdir(build).join(format!("{}-{}-image", name, host));
     let _ = fs::remove_dir_all(&image);
+    t!(fs::create_dir_all(&image));
 
     // The first argument to the script is a "temporary directory" which is just
     // thrown away (this contains the runtime DLLs included in the rustc package