Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate Stack Size Configuration in preparation for cortex-m #54

Open
bushidocodes opened this issue Sep 8, 2021 · 0 comments
Open

Comments

@bushidocodes
Copy link
Contributor

The clang WebAssembly linker takes a flag to statically set the stack size of the resulting binary.

Currently our Makefiles define linker flags as follows:

WASMLINKFLAGS=-Wl,--allow-undefined,-z,stack-size=32768,--threads=1

In order to prepare for the cortex-m refactor for WASI, we need to better understand how this flag impacts the memory consumption of the resulting binary.

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

No branches or pull requests

1 participant