按提示词结论补 wasm guardrail 源码依据

This commit is contained in:
cnc
2026-06-02 12:55:36 +08:00
parent 08978b82de
commit 154fc7578a
3 changed files with 13 additions and 0 deletions

View File

@@ -3,6 +3,11 @@ set -euo pipefail
cd "$(dirname "$0")"
# LinuxCNC source basis: this guardrail locks the blocker categories reported
# by analyze-linuxcnc-wasm-blockers.sh for the RS274/WASM manifest. The locked
# groups cover LinuxCNC Python/Boost.Python module bindings, tooldata mmap,
# dlopen use, and native filesystem calls found in src/emc/rs274ngc and
# src/emc/tooldata.
manifest=${1:-linuxcnc-rs274-wasm-source-files.txt}
self_checks=${CNC_SIM_WASM_BLOCKERS_SELF_CHECKS:-0}
if [[ "$self_checks" != "0" && "$self_checks" != "1" ]]; then