diff --git a/wasm-port/docs/porting-steps-standalone.md b/wasm-port/docs/porting-steps-standalone.md index 8aa6e45..6a49e5e 100644 --- a/wasm-port/docs/porting-steps-standalone.md +++ b/wasm-port/docs/porting-steps-standalone.md @@ -479,6 +479,10 @@ Current verified progress: compiled as C with `gcc` so its LinuxCNC C linkage is preserved. The standalone `rtapi.h` shim was made C/C++ compatible for this C-source boundary without changing vendored LinuxCNC files. +- `inifile.cc` now has its own direct source compile probe in addition to the + existing INI parser harness. With this probe, every `.c` and `.cc` file + listed in `tools/source-manifest.txt` has a native source-level compile + check under the standalone build boundary. ## 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 96ff56a..fe690d6 100755 --- a/wasm-port/tests/native/verify_native_probes.sh +++ b/wasm-port/tests/native/verify_native_probes.sh @@ -33,6 +33,7 @@ check_exitcode() { } check_exitcode linuxcnc_interp_state_probe +check_exitcode linuxcnc_inifile_source_probe check_exitcode linuxcnc_tp_api_probe check_exitcode linuxcnc_tp_api_probe.run for name in \ diff --git a/wasm-port/tools/build_native_probes.sh b/wasm-port/tools/build_native_probes.sh index 73fd6aa..fb84ede 100755 --- a/wasm-port/tools/build_native_probes.sh +++ b/wasm-port/tools/build_native_probes.sh @@ -486,6 +486,12 @@ build_binary_target \ NO_LINK_FLAGS \ -lfmt +build_object_target \ + linuxcnc_inifile_source_probe \ + "$BUILD_DIR/linuxcnc_inifile_source_probe.o" \ + "$VENDOR_DIR/src/emc/ini/inifile.cc" \ + COMMON_INI_FLAGS + build_binary_target \ linuxcnc_interp_state_probe \ "$BUILD_DIR/linuxcnc_interp_state_probe" \