Skip to main content

compile_project_to_ir_with

Function compile_project_to_ir_with 

Source
pub fn compile_project_to_ir_with(
    project_dir: &Path,
    sources: &[ComponentSource],
    resolver: &dyn ContextResolver,
) -> Result<Value, String>
Expand description

As compile_project_to_ir_with_sources, resolving the context binding through a caller-supplied ContextResolver instead of BuiltinContextResolver. This is the seam a host uses to bind a context kind this checkout cannot read — the context-side counterpart of passing your own ComponentSource list.