Link wasm runtime status constructors

This commit is contained in:
cnc
2026-06-02 08:20:17 +08:00
parent dab7b9e2ef
commit ad7a461b3e
14 changed files with 137 additions and 12 deletions

View File

@@ -69,6 +69,15 @@ These are not needed for the browser simulator ABI and should not be part of the
- persistent parameter file writes.
- dynamic INI/HAL queries.
The wasm-safe runtime now constructs its detached `EMC_STAT` through LinuxCNC
`src/emc/nml_intf/emcops.cc`. The singleton follows LinuxCNC
`src/emc/sai/dummyemcstat.cc`, and the required `NMLmsg`/`RCS_STAT_MSG`
constructors are trimmed from `src/libnml/nml/nmlmsg.cc` and
`src/libnml/nml/stat_msg.cc` in `core/wasm_shims/nml_status_shim.cc`, so
interpreter paths such as `Interp::tag_arc()` in `interp_convert.cc` read
initialized LinuxCNC status defaults without linking the task controller or
native NML channels.
## Current syntax probe
Run: