ashtonmeuser/godot-wasm

Windows msvc scons build sometimes doesn't update the wasmer download

Closed this issue · 1 comments

fire commented

Sometimes you need to delete the wasmer folder.

This behaviour is intentional because downloading Wasmer each time the addon/engine is built would be inefficient as most of the time, you'll be redownloading the same Wasmer version. If the wasmer directory exists, the download is skipped. This behaviour has always been overridable when building a GDNative/GDExtension addon via a download_wasmer=yes argument. Relatedly, a specific version of Wasmer can be specified via wasmer_version=vX.Y.Z.

Anyway, I implemented these same options when building as a Godot module. Commits 6db146b (Godot 3.x) and f2b1cc3 (Godot 4.x).