Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Partially revert "Don't use sbrk(0) to determine the initial heap size"
While the problem it addressed (`memory.grow` use outside of malloc) is real, it has been broken for long in this implementation. IMO, the fix doesn't warrant breaking other working use cases, (Pre-populating heap with `--init-memory`) especially when a better solution (`__heap_end`) is on the horizon.
- Loading branch information