按源标记Python绑定编译覆盖
结论:依据 LinuxCNC RS274 Python/Boost.Python 绑定源 canonmodule.cc、gcodemodule.cc、interpmodule.cc 与 py*.cc,blocker 分析新增 python-compile-covered 分组,锁定这些 blocker 已由 inert Python C API symbol probe 编译覆盖;Python/remap 执行仍保持禁用,未扩展 smoke。 检查:./test-linuxcnc-wasm-python-c-api-symbols.sh;./test-linuxcnc-wasm-blockers.sh linuxcnc-rs274-wasm-source-files.txt;CNC_SIM_WASM_BLOCKERS_SELF_CHECKS=1 ./test-linuxcnc-wasm-blockers.sh linuxcnc-rs274-wasm-source-files.txt;./check-linuxcnc-wasm-blockers-source-map.sh;./test-native.sh;./test-linuxcnc-source-link.sh。
This commit is contained in:
@@ -8,6 +8,9 @@ a source-link/build guard only; it does not add CNC behavior and must not become
|
||||
|
||||
- `src/emc/rs274ngc/gcodemodule.cc`, `canonmodule.cc`, `interpmodule.cc`, and
|
||||
`py*.cc` provide the Python and Boost.Python module binding blockers.
|
||||
- `test-linuxcnc-wasm-python-c-api-symbols.sh` compiles the blocked
|
||||
Python/Boost.Python binding sources with inert Python/runtime shims so their
|
||||
source surface is covered without enabling Python execution.
|
||||
- `src/emc/rs274ngc/interp_python.cc`, `interp_remap.cc`,
|
||||
`interp_namedparams.cc`, `interp_o_word.cc`, `interp_setup.cc`, and
|
||||
`rs274ngc_pre.cc` keep Python/Boost.Python remap paths as shimmed core
|
||||
@@ -35,6 +38,7 @@ a source-link/build guard only; it does not add CNC behavior and must not become
|
||||
| Analyzer section | Count | Boundary |
|
||||
| --- | ---: | --- |
|
||||
| `python` | 8 | Blocked Python/Boost.Python module sources. |
|
||||
| `python-compile-covered` | 8 | Blocked Python/Boost.Python module sources compiled by the inert Python C API symbol probe while remaining blockers. |
|
||||
| `dlopen` | 0 | blocked `dlopen` and blocked tooldata-users remain empty. |
|
||||
| `tooldata` | 1 | Native tooldata mmap blocker. |
|
||||
| `tooldata-users` | 0 | Blocked tooldata user sources remain empty. |
|
||||
@@ -80,6 +84,9 @@ Required tracked core examples:
|
||||
blocked-source replacements stay executable failures.
|
||||
- The WASM blockers source-map guard validates LinuxCNC source/blocker
|
||||
ownership and manifest drift only; it does not interpret G-code.
|
||||
- Python/Boost.Python blockers are compile-covered by the inert Python C API probe,
|
||||
but they remain tracked blockers until Python/remap execution is ported,
|
||||
wrapped, or replaced by a source-backed browser-safe LinuxCNC adaptation.
|
||||
|
||||
## Checks
|
||||
|
||||
|
||||
Reference in New Issue
Block a user