pub fn serve_single_app(
config_record: &ServeConfig,
repo_root: Option<&Path>,
binary_dir: Option<&Path>,
) -> Result<(), &'static str>Expand description
Starts the single-app runtime server.
§Parameters
config_record: App-mode serve configuration to execute.repo_root: Optional repository root used to resolve app-owned sources.binary_dir: Optional directory used to resolve helper binaries.
§Returns
Returns the successful value produced by crate::runtime::serve_single_app or an error when the operation fails.
§Errors
Returns an error value when crate::runtime::serve_single_app cannot complete successfully.
§Examples
ⓘ
let _result = pharos_native::runtime::serve_single_app(todo!(), std::path::Path::new("."), std::path::Path::new("bin"), todo!());§Related
crate::runtimefor adjacent helpers that share the same runtime surface.