diff options
author | Mu001999 <mu001999@outlook.com> | 2023-03-14 11:22:45 +0800 |
---|---|---|
committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2023-03-29 17:57:58 -0600 |
commit | fed7de4b37e66e8e479040ff40770926cf4c1cf6 (patch) | |
tree | 0328466650cf84acf752a39a5b99b80ef2232488 | |
parent | 4558c70844dc7fc0176297376b468f21f3d8abb2 (diff) | |
download | rust-fed7de4b37e66e8e479040ff40770926cf4c1cf6.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 f4abdf1cc57..950f3b151ba 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -500,6 +500,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 { |