Save source fingerprint after successful library build.
(build_dir: Path)
| 395 | |
| 396 | |
| 397 | def _save_library_fingerprint(build_dir: Path) -> None: |
| 398 | """Save source fingerprint after successful library build.""" |
| 399 | fingerprint_file = build_dir / "library_src_fingerprint" |
| 400 | try: |
| 401 | fingerprint_file.write_text(_compute_src_fingerprint(), encoding="utf-8") |
| 402 | except OSError: |
| 403 | pass |
| 404 | |
| 405 | |
| 406 | # Error patterns that indicate stale build state (kept in sync with compile.py) |
no test coverage detected