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:

View File

@@ -290,7 +290,7 @@ Build and source-link guardrails:
Node or browser smoke tests.
- `build-wasm.sh` must run `test-web-wasm-node-smoke.sh` before the browser
smoke so the Node prerequisite, syntax, and minimum-step checks are enforced.
- The default wasm manifest partition must remain explicitly checked for 25
- The default wasm manifest partition must remain explicitly checked for 26
wasm-safe core sources and 9 blocked sources.
- Manifest source listers must reject malformed lines, absolute source paths,
unknown groups, unknown filters, and duplicate source entries.