Rollup merge of #109111 - MU001999:master, r=jyn514

Create dirs for build_triple

Fixes #109103
This commit is contained in:
Dylan DPC 2023-03-15 17:51:32 +05:30 committed by GitHub
commit d133c36fa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {