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.
1 parent bf2be79 commit aac287aCopy full SHA for aac287a
packages/npm-packages/ruby-wasm-wasi/src/browser.ts
@@ -46,6 +46,9 @@ export const DefaultRubyVM = async (
46
await vm.setInstance(instance);
47
48
wasi.setMemory(instance.exports.memory as WebAssembly.Memory);
49
+ // Manually call `_initialize`, which is a part of reactor modoel ABI,
50
+ // because the WASI polyfill doesn't support it yet.
51
+ (instance.exports._initialize as Function)();
52
vm.initialize();
53
54
return {
0 commit comments