This website requires JavaScript.
Explore
Help
Sign In
luke
/
magic
Watch
1
Star
0
Fork
0
mirror of
https://github.com/RTimothyEdwards/magic.git
synced
2026-08-29 01:24:51 +02:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
d6438387adfb8fd50ec33fcf1c98a68a78c54a27
magic
/
toolchains
T
History
Intubun
d6438387ad
Fixed a second emscripten 6.0.2 regression in the WASM build, this one at runtime rather than at compile time. emscripten 6.0.2 removed wasmBinary (along with a batch of GL/SDL members) from the default INCOMING_MODULE_JS_API list. The JS loaders in npm/examples pass Module.wasmBinary to embed the .wasm binary, and because the WASM build links with -sASSERTIONS=1, the now-unrecognized member triggers a hard runtime abort: "
Module.wasmBinary
was supplied but
wasmBinary
not included in INCOMING_MODULE_JS_API", failing every example test. Fixed by explicitly setting -sINCOMING_MODULE_JS_API in toolchains/emscripten/defs.mak to emscripten's full default list plus wasmBinary. Spelling out the whole default (rather than only the members our own loaders use) keeps external consumers of the npm package working if they supply locateFile, arguments, and similar Module options.
2026-07-08 09:48:10 -04:00
..
emscripten
Fixed a second emscripten 6.0.2 regression in the WASM build, this one at runtime rather than at compile time. emscripten 6.0.2 removed wasmBinary (along with a batch of GL/SDL members) from the default INCOMING_MODULE_JS_API list. The JS loaders in npm/examples pass Module.wasmBinary to embed the .wasm binary, and because the WASM build links with -sASSERTIONS=1, the now-unrecognized member triggers a hard runtime abort: "
Module.wasmBinary
was supplied but
wasmBinary
not included in INCOMING_MODULE_JS_API", failing every example test. Fixed by explicitly setting -sINCOMING_MODULE_JS_API in toolchains/emscripten/defs.mak to emscripten's full default list plus wasmBinary. Spelling out the whole default (rather than only the members our own loaders use) keeps external consumers of the npm package working if they supply locateFile, arguments, and similar Module options.
2026-07-08 09:48:10 -04:00