diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-12-17 13:51:51 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-12-17 13:51:51 -0800 |
| commit | bc06bbb4011848ff1d9fd5f8249607fcaee1fd37 (patch) | |
| tree | 2d0929464d8ac1b032b962ad3a41d421f2a113ca /src | |
| parent | 67ae4ab5c22e58c74ad89467cfa16d6d1e4af3ed (diff) | |
| download | rust-bc06bbb4011848ff1d9fd5f8249607fcaee1fd37.tar.gz rust-bc06bbb4011848ff1d9fd5f8249607fcaee1fd37.zip | |
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.rs | 1 |
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 |
