Skip to main content

compile_project_to_ir

Function compile_project_to_ir 

Source
pub fn compile_project_to_ir(project_dir: &Path) -> Result<Value, String>
Expand description

Compile a Warble project directory into its IR JSON, resolving the context binding through BuiltinContextResolver and using the default component source list (project-local components/ + this checkout’s Hub — see default_component_sources). This is what every in-repo example/eval profile and integration test compiles through.