Skip to main content

compile_project

Function compile_project 

pub fn compile_project(
    options: &CompileOptions,
) -> Result<ProjectOutput, ProjectFailure>
Expand description

Compile a Bynk project, keeping error attribution + snapshots on failure (so the CLI can render project errors with source context, ADR 0052). Use .map_err(ProjectFailure::flatten) for the flattened Vec<CompileError> shape.