Skip to main content

keep_newest_linker

Function keep_newest_linker 

Source
pub fn keep_newest_linker(
    map: &mut HashMap<String, CapturedLinkerInvocation>,
    inv: CapturedLinkerInvocation,
)
Expand description

Pure helper for load_captured_linker_args — same “keep most-recent per key” pattern as keep_newest, but the key is the output filename rather than a crate name.