about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2023-03-15 17:51:32 +0530
committerGitHub <noreply@github.com>2023-03-15 17:51:32 +0530
commitd133c36fa982676e092b876ba65908d889877bec (patch)
treef1fd44d622318a2c5c1f670cdb62dec5d9078be6
parent2aa3eea5fce4913981e22cdf31ca62823792303d (diff)
parenta4692f46c42b315921d21571ca3568c84a87e647 (diff)
downloadrust-d133c36fa982676e092b876ba65908d889877bec.tar.gz
rust-d133c36fa982676e092b876ba65908d889877bec.zip
Rollup merge of #109111 - MU001999:master, r=jyn514
Create dirs for build_triple

Fixes #109103
-rw-r--r--src/bootstrap/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index 22ddf872215..f136690592d 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -495,6 +495,7 @@ impl Build {
 
         // Make a symbolic link so we can use a consistent directory in the documentation.
         let build_triple = build.out.join(&build.build.triple);
+        t!(fs::create_dir_all(&build_triple));
         let host = build.out.join("host");
         if let Err(e) = symlink_dir(&build.config, &build_triple, &host) {
             if e.kind() != ErrorKind::AlreadyExists {