Skip to main content

parse

Function parse 

Source
pub fn parse(
    verbose_log: &str,
    timing_html: &str,
) -> Result<BuildInput, ParseError>
Expand description

Parses one build’s verbose log and timing report into an analysable BuildInput.

This is the entry point most callers want. See parse_with_metadata for the workspaces where it is not enough.

§Errors

Returns ParseError if either input cannot be parsed, if the build was not a clean full build, or if the two inputs describe different sets of units. No graph is ever built from a partial unit set: an unmatched unit is a refusal, not a warning.