pcbjam/wasm/stubs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Viktor Vaczi 9c271996c2 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>
2025-12-22 16:30:53 +01:00
..
nng Enable 3D viewer in KiCad WASM build 2025-12-21 14:21:29 +01:00
api_plugin_stub.cpp Fix KiCad WASM build and runtime errors 2025-12-22 16:30:53 +01:00
curl_stub.c Enable 3D viewer in KiCad WASM build 2025-12-21 14:21:29 +01:00
gl_canvas_stub.cpp Enable 3D viewer in KiCad WASM build 2025-12-21 14:21:29 +01:00
glu_stub.c Enable 3D viewer in KiCad WASM build 2025-12-21 14:21:29 +01:00
libgit2_stub.c Enable 3D viewer in KiCad WASM build 2025-12-21 14:21:29 +01:00
nl_pcbnew_plugin_stub.cpp Fix KiCad WASM build and runtime errors 2025-12-22 16:30:53 +01:00
nng_stub.c Enable 3D viewer in KiCad WASM build 2025-12-21 14:21:29 +01:00
pcb_frame_stub.cpp Fix KiCad WASM build and runtime errors 2025-12-22 16:30:53 +01:00
pcbnew_scripting_stub.cpp Enable 3D viewer in KiCad WASM build 2025-12-21 14:21:29 +01:00
python_manager_stub.cpp Fix KiCad WASM build and runtime errors 2025-12-22 16:30:53 +01:00
scripting_stub.cpp Fix KiCad WASM build and runtime errors 2025-12-22 16:30:53 +01:00
wasm-emscripten-finalize-stub.sh Fix KiCad WASM build and runtime errors 2025-12-22 16:30:53 +01:00
wasm-opt-stub.sh Fix Asyncify and improve build process 2025-12-14 11:59:50 +01:00