Skip to main contentModule cargo
Source - Cargo
- HostFlags ๐
- Flags that are passed to the
rustc shim binary. These flags will only be applied when
compiling host code, i.e. when --target is unset. - Rustflags ๐
- Represents flag values in
String form with a \x1f delimiter to pass to the compiler later.
- apply_pgo
- 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.
- cargo_profile_var
- flags_env ๐
- Picks the environment variable and value to pass a set of
Rustflags to cargo.