Skip to main content

compile_module

Function compile_module 

Source
pub async fn compile_module(
    request: ModuleCompileRequest<'_>,
) -> Result<ModuleCompileOutput, ModuleCompileError>
Expand description

Parse, link, inspect, and optionally persist a Lashlang module.

parse and LinkedModule::link remain public for tooling and low-level tests. Host integrations should prefer this facade so diagnostics, artifact identity, persistence, and introspection are produced consistently.