Skip to main content

build_programs

Function build_programs 

Source
pub fn build_programs(
    rawast: &RawAst,
    env: Env,
    foreign: &mut ForeignModules,
) -> Result<(Rast, Diagnostics), Diagnostics>
Expand description

Build the resolved AST on env, which holds the data layer and the system (build_system): each program resolved, then the buffers’ regions checked against the programs’ mappings. Its vaddrs are laid out after (lay_out).

§Errors

As build, for the programs.