Skip to content

Commit 3b0ee35

Browse files
Create build directory when downloading LLVM (#285)
1 parent dfc282c commit 3b0ee35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/release.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ pub async fn bootstrap_llvm() -> Result<PathBuf> {
473473
let filename = url.path_segments().unwrap().last().unwrap();
474474

475475
let llvm_dir = Path::new("build").join("llvm");
476+
std::fs::create_dir_all(&llvm_dir)?;
476477

477478
// If `llvm` is already available with the target version, return it.
478479
if llvm_dir.join(filename).exists() {

0 commit comments

Comments
 (0)