Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- new min/max macros create an ungodly amount of locals in unoptimized builds, which caused stack overflows when recursing in UI layout code. As a quick fix, we now pass -O1 when building the wasm sdk to do the bare minimum cleanup. - Also set the wasm3 stack to a more reasonable 1MB size - TODO: investigate why such simple macros generate so much locals... maybe reintroduce a simpler version of our old hygienic macros if it's worth it for debug builds. - TODO: convert UI layout code to an iterative version to completely avoid potential stack overflows.
- Loading branch information