Embiggen stack
This commit is contained in:
parent
caed72856e
commit
d74f67f9a8
|
@ -439,7 +439,7 @@ i32 orca_runloop(void* user)
|
||||||
fread(app->env.wasmBytecode.ptr, 1, app->env.wasmBytecode.len, file);
|
fread(app->env.wasmBytecode.ptr, 1, app->env.wasmBytecode.len, file);
|
||||||
fclose(file);
|
fclose(file);
|
||||||
|
|
||||||
u32 stackSize = 65536;
|
u32 stackSize = 65536 * 20; // MOAR STACK
|
||||||
app->env.m3Env = m3_NewEnvironment();
|
app->env.m3Env = m3_NewEnvironment();
|
||||||
|
|
||||||
app->env.m3Runtime = m3_NewRuntime(app->env.m3Env, stackSize, NULL);
|
app->env.m3Runtime = m3_NewRuntime(app->env.m3Env, stackSize, NULL);
|
||||||
|
|
Loading…
Reference in New Issue