Skip to main content

run

Function run 

Source
pub async fn run() -> Result<()>
Expand description

Library entry point for the trusty-console daemon, using the process argv.

Why: The standalone trusty-console crate is now the SOLE producer of the trusty-console binary (#1318 — de-bundled from the 5 host crates). The thin main.rs calls this, which simply forwards the process’s global argv to run_from. What: Collects std::env::args() and delegates to run_from. Test: Indirectly via the run_from tests below and the binary smoke test.