Statics§
Functions§
- check_
rust_ script_ installed - Checks if
rust-scriptis installed and suggests installation if it’s not. - is_
active_ rust_ script - Returns true if the file’s a “rust-script”
- open_
ai_ summarize_ for_ target - Asynchronously launches the GenAI summarization example for the given target. It builds the command using the target’s manifest path as the “origin” argument.
- register_
ctrlc_ handler - Registers a global Ctrl+C handler once. The handler checks GLOBAL_CHILD and kills the child process if present.
- run_
example - Runs the given example (or binary) target.
- run_
rust_ script - spawn_
cargo_ process - Helper function to spawn a cargo process. On Windows, this sets the CREATE_NEW_PROCESS_GROUP flag.