Skip to main content

build_runtime_build_report_json

Function build_runtime_build_report_json 

Source
pub fn build_runtime_build_report_json(
    target_id: &str,
    conf_path: Option<&str>,
    apps_dir: &str,
    app_count: usize,
) -> Result<String, &'static str>
Expand description

Builds the JSON report returned by runtime build flows.

§Parameters

§Returns

Returns the successful value produced by crate::runtime::build_runtime_build_report_json or an error when the operation fails.

§Errors

Returns an error value when crate::runtime::build_runtime_build_report_json cannot complete successfully.

§Examples

ⓘ
let _result = pharos_native::runtime::build_runtime_build_report_json("dev_docs", std::path::Path::new("app.conf"), todo!(), todo!());
  • crate::runtime for adjacent helpers that share the same runtime surface.