Skip to main content

load_program_with_deps

Function load_program_with_deps 

Source
pub fn load_program_with_deps(
    entry_path: &str,
    entry_source: &str,
    deps: DependencyMap,
) -> Result<Program, Diagnostic>
Expand description

Load a program, resolving bare imports against deps (a project’s resolved dependency graph) in addition to the stdlib and sibling files.