Skip to content

Commit

Permalink
Bump default runtime versions, fix Windows library
Browse files Browse the repository at this point in the history
Windows ntdll.lib was missing for module build (SCsub) which is required by Wasmer >= 4.2.0
  • Loading branch information
Ashton Meuser authored and Ashton Meuser committed May 31, 2024
1 parent cd742ff commit 7aa1cd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ elif env["platform"] == "windows":
else: # MSVC
env["LIBRUNTIMESUFFIX"] = ".lib"
# Force Windows SDK library suffix (see https://github.com/godotengine/godot/issues/23687)
env.Append(LINKFLAGS=["bcrypt.lib", "userenv.lib", "ws2_32.lib", "advapi32.lib"])
env.Append(LINKFLAGS=["bcrypt.lib", "userenv.lib", "ws2_32.lib", "advapi32.lib", "ntdll.lib"])

# Explicit static libraries
runtime_lib = env.File(
Expand Down
4 changes: 2 additions & 2 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
from zipfile import ZipFile

WASMER_BASE_URL = "https://github.com/wasmerio/wasmer/releases/download/{0}/wasmer-{1}.tar.gz"
WASMER_VER_DEFAULT = "v4.2.0"
WASMER_VER_DEFAULT = "v4.3.1"
WASMTIME_BASE_URL = "https://github.com/bytecodealliance/wasmtime/releases/download/{0}/wasmtime-{0}-{1}-c-api.{2}"
WASMTIME_VER_DEFAULT = "v12.0.1"
WASMTIME_VER_DEFAULT = "v21.0.1"


def _validate_version(v):
Expand Down

0 comments on commit 7aa1cd8

Please sign in to comment.