We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 57bd88a + 78498da commit 64221faCopy full SHA for 64221fa
tools/web.py
@@ -42,6 +42,10 @@ def generate(env):
42
env.Append(CCFLAGS=["-sSIDE_MODULE=1"])
43
env.Append(LINKFLAGS=["-sSIDE_MODULE=1"])
44
45
+ # Enable WebAssembly BigInt <-> i64 conversion.
46
+ # This must match the flag used to build Godot (true in official builds since 4.3)
47
+ env.Append(LINKFLAGS=["-sWASM_BIGINT"])
48
+
49
# Force wasm longjmp mode.
50
env.Append(CCFLAGS=["-sSUPPORT_LONGJMP='wasm'"])
51
env.Append(LINKFLAGS=["-sSUPPORT_LONGJMP='wasm'"])
0 commit comments