Skip to content

Increased asyncify data end to match stack size for built wasm modules#48

Merged
dOrgJelli merged 1 commit into
origin-devfrom
nerfzael-asyncify-increase-stack-size
Jun 26, 2023
Merged

Increased asyncify data end to match stack size for built wasm modules#48
dOrgJelli merged 1 commit into
origin-devfrom
nerfzael-asyncify-increase-stack-size

Conversation

@nerfZael

@nerfZael nerfZael commented Jun 26, 2023

Copy link
Copy Markdown
Contributor

Toolchain is building wasm modules with the following stack size:
ENV ASYNCIFY_STACK_SIZE=24576
But we don't take advantage of that in our AsyncifyWasmInstance.

Ideally, this should be dynamic, for that I created an issue here: #49
This fix should prevent any ASYNCIFY_STACK_SIZE errors in the mean time.

@dOrgJelli

Copy link
Copy Markdown
Contributor

Great find @nerfZael! We should try and find a way to extract this from the wasm binary. Will add some thoughts to the issue you created 👏

@dOrgJelli
dOrgJelli merged commit 9aee0cf into origin-dev Jun 26, 2023
@nerfZael

Copy link
Copy Markdown
Contributor Author

Great find @nerfZael! We should try and find a way to extract this from the wasm binary. Will add some thoughts to the issue you created clap

It was actually @namesty . Really amazing to get this working :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants