Skip to main content

prepare_finalized_app_from_config

Function prepare_finalized_app_from_config 

Source
pub fn prepare_finalized_app_from_config(
    app_root: &Path,
) -> Result<AppRuntime, &'static str>
Expand description

Prepares a finalized app runtime from a resolved app directory and config.

§Parameters

§Returns

Returns the successful value produced by crate::binaries::prepare_finalized_app_from_config or an error when the operation fails.

§Errors

Returns an error value when crate::binaries::prepare_finalized_app_from_config cannot complete successfully.

§Examples

ⓘ
let _result = pharos_native::binaries::prepare_finalized_app_from_config(std::path::Path::new("apps/dev_docs"));
  • crate::binaries for adjacent helpers that share the same runtime surface.