(build_dir: Path)
| 233 | |
| 234 | |
| 235 | def _clear_link_cache(build_dir: Path) -> None: |
| 236 | for name in ( |
| 237 | "wasm_ld_args.json", |
| 238 | "wasm_ld_args.key", |
| 239 | "js_glue_fingerprint", |
| 240 | "link_environment_fingerprint", |
| 241 | ): |
| 242 | (build_dir / name).unlink(missing_ok=True) |
| 243 | |
| 244 | |
| 245 | def _js_glue_fingerprint_matches(build_dir: Path) -> bool: |