Open
Description
We've been experimenting with using the start section in the C/C++/clang/lld world:
https://reviews.llvm.org/D40559
I've run into an issue with exported memory and static initializes (or any code in the start function). Basically no JS function that requires access to memory can be run during start because the exported memory is not available until after the start function completes.
We can switch to importing memory but that doesn't seem like a reasonable requirement.
Am I missing something?