One merged node-WASM CLI (wasm/tools, 26.5MB) supersedes sym_convert + pcb_convert: --convert-lib (absolutizes paths — fixes the legacy plugin's silent empty output on relative paths), --lint (now full-parses .kicad_pcb via the linked pcbnew parser), --erc, --netlist, --bom, --plot, --drc. Registered as the only headless CLI app; ASYNCIFY=0 CLIs skip the nanosleep→Asyncify yield shim and exit via _exit (dieted static dtors trap). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ADzCSeN3Q9DJL3YW2FZTXB
9 lines
533 B
C++
9 lines
533 B
C++
// kicad_tools' "embind" object — deliberately embind-free, mirroring
|
|
// sym_convert_embind.cpp / pcb_convert_embind.cpp (ysync 0009 size research).
|
|
//
|
|
// Both dieted kifaces reference exactly ONE editor-embind symbol:
|
|
// kicadCollabOnSave (eeschema files-io.cpp / pcbnew files.cpp save paths —
|
|
// neither executes headless, and both TUs are pruned from the diets anyway).
|
|
// This no-op hook satisfies any remaining reference without rooting the
|
|
// editor surface.
|
|
extern "C" void kicadCollabOnSave( const char* /* aPath */ ) {}
|