pub fn run() -> Result<()>Expand description
Entry point for all three stow binaries: installs tracing when the
invocation allows it, builds a tokio runtime sized to the invocation
kind, and runs [async_main].
Wrapper invocations (stow rustc, stow cc) get a current_thread
runtime — they run hundreds of times per build with at most one
concurrent network task, so worker-pool spin-up is wasted overhead.
User-facing commands that can fan out get the multi-threaded runtime.
§Errors
Returns an error when the tokio runtime cannot be built or when the selected subcommand fails.