Skip to main content

ran_executables

Function ran_executables 

Source
pub fn ran_executables(cargo_log: &str, source_dir: &Path) -> Vec<PathBuf>
Expand description

The executables Cargo reports running in cargo_log, resolved against source_dir.

Cargo prints Running benches/log.rs (target/release/deps/log-0123) to standard error before it starts each bench executable. The path is relative to the directory Cargo ran in when the target directory is below it, and absolute otherwise. With CARGO_TERM_COLOR=always Cargo wraps the Running label in ANSI colour sequences, which are removed before the line is read.