Skip to main content

compile_path

Function compile_path 

Source
pub fn compile_path(path: &Path) -> Result<CompileOutput, CompileError>
Expand description

Compile an ink story from an entry-point file path.

Reads files from disk, follows INCLUDEs, and runs the full compilation pipeline. Returns the compiled story data or a list of diagnostics.