Skip to main content

build_placed

Function build_placed 

Source
pub fn build_placed(
    reader: &Reader<'_>,
    args: &PlacedArgs,
) -> GeopResult<PlacedPart>
Expand description

The make of a placed part (see place): the program in the file args.file names, run with args.inputs and the state the placing part gives under the instance’s name, the program’s own where it gives none. Taken from the runner’s build cache where an equal build is there; else built from the part the instance had before, if it had one, so that only what reads what changed is made again — placed in the part reader reads, which it reads in context. Records the file and every state and file the part placed read, and what it read in context.