mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-10-21 19:26:18 +00:00
Emscripten 4.0.12 introduced breaking change by changing module factory to always return promise even if `WASM_ASYNC_COMPILATION=0`. To overcome this, build emscripten compiler without MODULARIZE with custom export of `createRevive`.
3 lines
65 B
JavaScript
3 lines
65 B
JavaScript
function createRevive(moduleArg) {
|
|
var Module = moduleArg || {};
|