pub fn apply_pgo(
builder: &Builder<'_>,
cargo: &mut Cargo,
build_compiler: Compiler,
config: &PgoConfig,
)Expand description
Applies PGO compile flags to the given Cargo invocation based on the given PGO config. PGO flags are only applied when compiling a stage2 component.