diff --git a/wasm-port/docs/porting-steps-standalone.md b/wasm-port/docs/porting-steps-standalone.md index cc84a72..50f6f5b 100644 --- a/wasm-port/docs/porting-steps-standalone.md +++ b/wasm-port/docs/porting-steps-standalone.md @@ -445,6 +445,11 @@ Current verified progress: `interp_convert.cc`. The required `emcStatus` shim is limited to the native status boundary used by `tag_arc()` for machine units; it is not a project-authored CNC behavior implementation. +- `tools/build_native_probes.sh` now also includes direct source compile + probes for vendored `interp_read.cc`, `interp_check.cc`, and + `interp_execute.cc`. These probes keep the next interpreter-core migration + work focused on LinuxCNC source entry points and expose missing standalone + runtime shims before wrapper behavior is expanded. ## Phase 4: Port INI Parsing Without Editing Upstream diff --git a/wasm-port/tests/native/verify_native_probes.sh b/wasm-port/tests/native/verify_native_probes.sh index 5ba92c7..725f9fb 100755 --- a/wasm-port/tests/native/verify_native_probes.sh +++ b/wasm-port/tests/native/verify_native_probes.sh @@ -42,6 +42,9 @@ check_exitcode linuxcnc_parameter_file_harness check_exitcode linuxcnc_parameter_file_harness.run check_exitcode linuxcnc_rs274_compile_probe check_exitcode linuxcnc_interp_convert_source_probe +check_exitcode linuxcnc_interp_read_source_probe +check_exitcode linuxcnc_interp_check_source_probe +check_exitcode linuxcnc_interp_execute_source_probe NAMEDPARAM_STDOUT="$BUILD_DIR/linuxcnc_namedparam_harness.run.stdout.log" grep -Fq "init_named_parameters=0" "$NAMEDPARAM_STDOUT" diff --git a/wasm-port/tools/build_native_probes.sh b/wasm-port/tools/build_native_probes.sh index 402a0ac..c3a6e96 100755 --- a/wasm-port/tools/build_native_probes.sh +++ b/wasm-port/tools/build_native_probes.sh @@ -459,4 +459,22 @@ build_object_target \ "$VENDOR_DIR/src/emc/rs274ngc/interp_convert.cc" \ COMMON_FLAGS +build_object_target \ + linuxcnc_interp_read_source_probe \ + "$BUILD_DIR/linuxcnc_interp_read_source_probe.o" \ + "$VENDOR_DIR/src/emc/rs274ngc/interp_read.cc" \ + COMMON_FLAGS + +build_object_target \ + linuxcnc_interp_check_source_probe \ + "$BUILD_DIR/linuxcnc_interp_check_source_probe.o" \ + "$VENDOR_DIR/src/emc/rs274ngc/interp_check.cc" \ + COMMON_FLAGS + +build_object_target \ + linuxcnc_interp_execute_source_probe \ + "$BUILD_DIR/linuxcnc_interp_execute_source_probe.o" \ + "$VENDOR_DIR/src/emc/rs274ngc/interp_execute.cc" \ + COMMON_FLAGS + echo "native probes complete"