Skip to content

Commit 163d33f

Browse files
boydjohnsonthomcc
authored andcommittedOct 28, 2022
Create all OUT_DIR/build parents
1 parent ba6b3bc commit 163d33f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ impl Config {
495495
.unwrap_or_else(|| PathBuf::from(getenv_unwrap("OUT_DIR")));
496496
let build = dst.join("build");
497497
self.maybe_clear(&build);
498-
let _ = fs::create_dir(&build);
498+
let _ = fs::create_dir_all(&build);
499499

500500
// Add all our dependencies to our cmake paths
501501
let mut cmake_prefix_path = Vec::new();

0 commit comments

Comments
 (0)