Skip to main content

compile_path

Function compile_path 

Source
pub fn compile_path(
    entry: &Path,
    opt_level: OptimizationLevel,
) -> LingResult<MirProgram>
Expand description

Like compile_and_optimize, but resolves use imports and mod blocks relative to the entry file’s directory before lowering. This is the multi-file entry point for the AOT/JIT backends.