Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions apps/rocmd/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ pub fn parse_args(args: Vec<OsString>) -> std::result::Result<(), clap::Error> {
}

pub fn run_from_args(args: Vec<OsString>) -> Result<()> {
// `rocm daemon` is the one caller; see `daemon_host` for why the daemon
// has to know it is not running as the `rocmd` binary.
crate::daemon_host::mark_embedded_in_rocm();
let cli = Cli::try_parse_from(args)?;
let runtime = tokio::runtime::Builder::new_current_thread()
.enable_all()
Expand Down
Loading
Loading