()
| 333 | build_root = lake_path / ".lake" / "build" |
| 334 | lib_dir = build_root / "lib" |
| 335 | |
| 336 | def _find(name: str) -> Path | None: |
| 337 | """Locate `lib<name>.<ext>` produced by `lake build`. |
| 338 | |
| 339 | Naming has shifted across Lake versions: |
| 340 | * old: `lib<name>.<ext>` |
| 341 | * newer (>= late 2025): `lib<package>_<name>.<ext>`, |
| 342 | so a same-name package + lib produces e.g. |
| 343 | `libTestLib_TestLib.dylib`. |
| 344 |
nothing calls this directly
no outgoing calls
no test coverage detected