Skip to content

Commit 32d02bb

Browse files
committed
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.
2 parents ec8bb45 + bc06bbb commit 32d02bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/dist.rs

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ pub fn mingw(build: &Build, host: &str) {
9797
let name = format!("rust-mingw-{}", package_vers(build));
9898
let image = tmpdir(build).join(format!("{}-{}-image", name, host));
9999
let _ = fs::remove_dir_all(&image);
100+
t!(fs::create_dir_all(&image));
100101

101102
// The first argument to the script is a "temporary directory" which is just
102103
// thrown away (this contains the runtime DLLs included in the rustc package

0 commit comments

Comments
 (0)