From bc06bbb4011848ff1d9fd5f8249607fcaee1fd37 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sat, 17 Dec 2016 13:51:51 -0800 Subject: 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. --- src/bootstrap/dist.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bootstrap') 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 -- cgit 1.4.1-3-g733a5