Skip to content

Commit b3df6dc

Browse files
committed
ensure the download folder exists when running abi-cafe
1 parent 9ad44ba commit b3df6dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build_system/abi_cafe.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::path::Dirs;
1+
use crate::path::{Dirs, RelPath};
22
use crate::prepare::GitRepo;
33
use crate::utils::{spawn_and_wait, CargoProject, Compiler};
44
use crate::{build_sysroot, CodegenBackend, SysrootKind};
@@ -21,6 +21,7 @@ pub(crate) fn run(
2121
rustup_toolchain_name: Option<&str>,
2222
bootstrap_host_compiler: &Compiler,
2323
) {
24+
RelPath::DOWNLOAD.ensure_exists(dirs);
2425
ABI_CAFE_REPO.fetch(dirs);
2526
ABI_CAFE_REPO.patch(dirs);
2627

0 commit comments

Comments
 (0)