Resolve compiler/archiver entries for the Meson WASM cross-file. Returns absolute paths to the seven compiled ctc-* native launchers. No Python-wrapper fallback — if ``compile_native()`` fails or any binary is missing, raises (clang-tool-chain >=1.5.1 is pinned and guarantees a
(project_root: Path)
| 170 | |
| 171 | |
| 172 | def resolve_wasm_native_entries(project_root: Path) -> WasmNativeEntries: |
| 173 | """ |
| 174 | Resolve compiler/archiver entries for the Meson WASM cross-file. |
| 175 | |
| 176 | Returns absolute paths to the seven compiled ctc-* native launchers. |
| 177 | No Python-wrapper fallback — if ``compile_native()`` fails or any |
| 178 | binary is missing, raises (clang-tool-chain >=1.5.1 is pinned and |
| 179 | guarantees all seven launchers). |
| 180 | |
| 181 | Raises: |
| 182 | RuntimeError: if ``compile_native()`` fails or any binary is missing. |
| 183 | """ |
| 184 | launchers = _ensure_emcc_native_launcher(project_root) |
| 185 | return WasmNativeEntries( |
| 186 | c=launchers.emcc, |
| 187 | cpp=launchers.empp, |
| 188 | ar=launchers.emar, |
| 189 | strip=launchers.emstrip, |
| 190 | ranlib=launchers.emranlib, |
| 191 | nm=launchers.emnm, |
| 192 | wasm_ld=launchers.wasm_ld, |
| 193 | ) |
| 194 | |
| 195 | |
| 196 | def _find_zccache_binary() -> Optional[str]: |
no test coverage detected