pub fn compile_application_ir(
artifact_root: &Path,
manifest: &Value,
) -> Result<ApplicationIr, ApplicationIrError>Expand description
Compiles and semantically validates all executable application contracts.
§Parameters
artifact_root: Input consumed bycrate::application_ir::compile_application_ir.manifest: Input consumed bycrate::application_ir::compile_application_ir.
§Returns
Returns the successful value produced by crate::application_ir::compile_application_ir or an error when the operation fails.
§Errors
Returns an error value when crate::application_ir::compile_application_ir cannot complete successfully.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::application_ir::compile_application_ir.
§Examples
ⓘ
let _result = pharos_runtime_core::application_ir::compile_application_ir(todo!(), todo!());§Related
crate::application_irfor adjacent helpers that share the same runtime surface.