Skip to main content

build_closed_program

Function build_closed_program 

Source
pub fn build_closed_program(files: &[PathBuf]) -> ModuleGraphBuild
Expand description

Build a closed module graph while retaining every reachable parsed source.

This is intentionally separate from editor-oriented graph construction: package linking consumes every module AST, while ordinary diagnostics should not retain an entire dependency graph after extracting its public surface.