pub fn resolve_cargo_path(explicit: Option<&Path>) -> PathBufExpand description
Resolve the cargo binary path, checking common locations.
launchd services run with a minimal PATH that excludes ~/.cargo/bin,
so we resolve the absolute path at startup rather than relying on PATH.