diff options
author | Mu001999 <mu001999@outlook.com> | 2023-03-14 11:22:45 +0800 |
---|---|---|
committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2023-03-18 20:50:53 -0400 |
commit | 775805adea3c2d46a7ff8eb09d1861fb287898b1 (patch) | |
tree | d88b78bf4da1c9ff297ec233d41cb5c36f2bda99 | |
parent | 79fa13422ee33145b6f6f6d45bf9aff53cf00c09 (diff) | |
download | rust-775805adea3c2d46a7ff8eb09d1861fb287898b1.tar.gz |
Create dir for build_triple
-rw-r--r-- | src/bootstrap/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index d44b96cfb99..0474ab344fe 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -593,6 +593,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 { |