Skip to content

Commit a869dae

Browse files
committed
Fix cache path not being present during installation of cross-tarball
1 parent ec95964 commit a869dae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/cli/src/commands/create_exe.rs

+1
Original file line numberDiff line numberDiff line change
@@ -984,6 +984,7 @@ mod http_fetch {
984984
.expect("Could not join downloading thread");
985985
match super::get_libwasmer_cache_path() {
986986
Ok(mut cache_path) => {
987+
let _ = std::fs::create_dir_all(&cache_path);
987988
cache_path.push(&filename);
988989
if !cache_path.exists() {
989990
if let Err(err) = std::fs::copy(&filename, &cache_path) {

0 commit comments

Comments
 (0)