diff --git a/lib/cli/src/commands/create_exe.rs b/lib/cli/src/commands/create_exe.rs index ad8d94c9bcf..d60bf704eb1 100644 --- a/lib/cli/src/commands/create_exe.rs +++ b/lib/cli/src/commands/create_exe.rs @@ -1720,7 +1720,7 @@ fn try_autoinstall_zig() -> Option { } #[cfg(feature = "http")] -fn install_zig(target_targz_path: &PathBuf) -> Option { +fn install_zig(target_targz_path: &Path) -> Option { let resp = reqwest::blocking::get("https://ziglang.org/download/index.json"); let resp = resp.ok()?; let resp = resp.json::(); diff --git a/lib/cli/src/commands/wasmer_static_create_exe_main.c b/lib/cli/src/commands/wasmer_static_create_exe_main.c index 67507005e1f..8660517107e 100644 --- a/lib/cli/src/commands/wasmer_static_create_exe_main.c +++ b/lib/cli/src/commands/wasmer_static_create_exe_main.c @@ -14,7 +14,7 @@ extern size_t VOLUMES_LENGTH asm("VOLUMES_LENGTH"); extern char VOLUMES_DATA asm("VOLUMES_DATA"); #endif -extern wasm_module_t* wasmer_module_new(wasm_store_t* store) asm("wasmer_module_new"); +extern wasm_module_t* wasmer_module_new(wasm_store_t* store,const char* wasm_name) asm("wasmer_module_new"); extern wasm_module_t* wasmer_static_module_new(wasm_store_t* store,const char* wasm_name) asm("wasmer_static_module_new");