Add two-phase build with host asyncify transformation

- Move asyncify from Docker to host to avoid memory issues
- Auto-download Binaryen v121 (v125 has regression bug)
- Use -O1 for debug builds (V8 local count limit)
- Remove asyncify flags from linker (handled by wasm-opt)
- Document two-phase build in build.md

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Viktor Vaczi 2025-12-13 22:13:31 +01:00
commit b70f098ae2
6 changed files with 187 additions and 19 deletions

1
.gitignore vendored
View file

@ -52,3 +52,4 @@ wxwidgets-clean/
*.log
*.tmp
output/
tools/