Files
wasm-simulator/test-linuxcnc-wasm-interp-base-link.sh

13 lines
362 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")"
# LinuxCNC source basis: the standalone probe links src/emc/rs274ngc/interp_base.cc,
# whose runtime dynamic loading edge is satisfied by the wasm-safe dlfcn shim.
probe=$(./build-linuxcnc-wasm-standalone-probe.sh --mode interp-base-link)
"$probe"
echo "linuxcnc wasm interp_base link probe passed"