Native tool entries for the WASM cross-file. All fields are absolute paths to compiled ctc-* native launchers. No Python-wrapper fallbacks — clang-tool-chain >=1.5.1 is a hard requirement and ``compile_native()`` is invoked eagerly. ``wasm_ld`` is not consumed by meson directly. em
| 53 | @typechecked |
| 54 | @dataclass(slots=True) |
| 55 | class WasmNativeEntries: |
| 56 | """Native tool entries for the WASM cross-file. |
| 57 | |
| 58 | All fields are absolute paths to compiled ctc-* native launchers. |
| 59 | No Python-wrapper fallbacks — clang-tool-chain >=1.5.1 is a hard |
| 60 | requirement and ``compile_native()`` is invoked eagerly. |
| 61 | |
| 62 | ``wasm_ld`` is not consumed by meson directly. emcc invokes wasm-ld |
| 63 | internally; the integration is via the ``EMCC_WASM_LD`` env var picked |
| 64 | up by the shared.py patch that ``ensure_emscripten_available`` applies. |
| 65 | Carried here so the build orchestration can set the env var. |
| 66 | """ |
| 67 | |
| 68 | c: str |
| 69 | cpp: str |
| 70 | ar: str |
| 71 | strip: str |
| 72 | ranlib: str |
| 73 | nm: str |
| 74 | wasm_ld: str |
| 75 | |
| 76 | |
| 77 | def _native_launcher_output_dir(project_root: Path) -> Path: |
no outgoing calls
no test coverage detected