Skip to main content

compile_feature_sources

Function compile_feature_sources 

Source
pub fn compile_feature_sources(
    artifact_root: &Path,
) -> Result<usize, FeatureCompileError>
Expand description

Compiles coherent feature sources into validated runtime contracts.

§Parameters

§Returns

Returns the successful value produced by crate::features::compile_feature_sources or an error when the operation fails.

§Errors

Returns an error value when crate::features::compile_feature_sources cannot complete successfully.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::features::compile_feature_sources.

§Examples

ⓘ
let _result = pharos_runtime_compiler::features::compile_feature_sources(todo!());
  • crate::features for adjacent helpers that share the same runtime surface.