Skip to main content

read_build_info_input

Function read_build_info_input 

Source
pub fn read_build_info_input<T: DeserializeOwned>(
    path: &Path,
) -> Result<Option<T>>
Expand description

Reads the compiler input of the build info at path, or None if the build info leaves it out, as build infos do unless build_info is set. A JSON object with neither an id nor an input is not a build info and fails.

The read stops after the input, which build infos write before the much larger output.