Skip to main content

parse_linker_invocation

Function parse_linker_invocation 

Source
pub fn parse_linker_invocation(
    tool: &str,
    args: Vec<String>,
) -> ParsedLinkerInvocation
Expand description

Parse a linker invocation’s arguments to determine cacheability.

Handles direct linkers (ld, lld, link.exe) and compiler drivers used for linking (gcc, clang). Both shared library and executable linking are cacheable.