Fix KiCad WASM build and runtime errors
Build improvements: - Change -O0 to -O1 to fix "local count too large" asyncify error - Add wasm-emscripten-finalize to host (Docker OOMs on large WASM) - Use -gseparate-dwarf for smaller main binary with debug info - Build native protoc for code generation - Add more functions to asyncify removelist Runtime fixes: - Add inject-dyncall-shims.sh to fix "dynCall_* is not defined" in Emscripten 4.x - Update wxwidgets with browserInfo.name fix New stubs and bindings: - Add Embind bindings for JavaScript interop - Add stubs for scripting, API plugin, PCB frame, navlib 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
898e079ef2
commit
9c271996c2
17 changed files with 699 additions and 13 deletions
|
|
@ -40,7 +40,7 @@ DEBUG_BUILD="${DEBUG_BUILD:-1}"
|
|||
|
||||
if [ "$DEBUG_BUILD" = "1" ]; then
|
||||
export BUILD_TYPE="Debug"
|
||||
export DEBUG_CFLAGS="-g -O0"
|
||||
export DEBUG_CFLAGS="-g -O1"
|
||||
export DEBUG_LDFLAGS="-g -gsource-map"
|
||||
else
|
||||
export BUILD_TYPE="Release"
|
||||
|
|
|
|||
Loading…
Reference in a new issue