cargo-pgo 0.3.0

Cargo subcommand for optimizing Rust binaries with PGO and BOLT.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use colored::Colorize;

pub(crate) mod env;
pub mod instrument;
pub mod optimize;

pub fn llvm_profdata_install_hint() -> String {
    format!(
        "Try installing `llvm-profdata` using `{}` or build LLVM manually and \
add its `bin` directory to PATH.",
        "rustup component add llvm-tools-preview".blue()
    )
}