pub fn load_captured_linker_args(
cache_dir: &Path,
) -> Result<HashMap<String, CapturedLinkerInvocation>>Expand description
Walk a whisker-linker-shim cache dir and collapse duplicates per
output filename, keeping the most-recent timestamp. Same shape
as load_captured_args but for the linker side. Empty /
unparseable files get a warning, not an abort.
Keying by the basename of the output path (libdemo.dylib →
libdemo.dylib) lets the patcher look up the linker call that
produced a specific crate’s library without having to re-derive
the cargo’s hash-suffixed path. Output-less captures are keyed
under _unknown.