Skip to main content

compile_to_bundle

Function compile_to_bundle 

Source
pub fn compile_to_bundle(
    entry_path: &Path,
    options: &CompileOptions,
) -> Result<ProgramBundle, Vec<Diagnostic>>
Expand description

Compile a multi-module project to a ProgramBundle artifact.

This is the primary entry point for warriors: it produces a self-contained bundle with compiled assembly, cost analysis, function signatures, and metadata.