cargo-pgo 0.3.0

Cargo subcommand for optimizing Rust binaries with PGO and BOLT.
Documentation
1
2
3
4
5
6
7
8
use std::fmt::Display;

use colored::{ColoredString, Colorize};

/// Formats a path in a unified format to be printed in CLI.
pub fn cli_format_path<P: Display>(path: P) -> ColoredString {
    path.to_string().yellow()
}