Re-exportsΒ§
pub use self::cargo::Cargo;pub use self::cargo::apply_pgo;pub use self::cargo::cargo_profile_var;pub use crate::Compiler;pub use crate::core::builder::step_stack::StepStack;
ModulesΒ§
- cargo π
- cli_
paths π - Various pieces of code for dealing with βpathsβ passed to bootstrap on the
command-line, extracted from
core/builder/mod.rsbecause that file is large and hard to navigate. - step_
stack π
StructsΒ§
- Builder
- Builds and performs different
Self::kinds of stuff and actions, taking into account build configuration from e.g. bootstrap.toml. - Command
Line πStep Description - Libdir π
- RunConfig
- Should
Run - Builder that allows steps to register command-line paths/aliases that should cause those steps to be run.
- Step
Metadata - Metadata that describes an executed step, mostly for testing and tracing.
- Task
Path
EnumsΒ§
TraitsΒ§
- AnyDebug
- This trait is similar to
Any, except that it also exposes the underlying typeβsDebugimplementation. - Command
Line Step - A
Stepthat can be selected by command-line arguments. - Step
- A unit of work within bootstrap that is cached to avoid redundant execution.
Steps can be performed via
Builder::ensure.
FunctionsΒ§
- crate_
description - A description of the crates in this set, suitable for passing to
builder.info. - pretty_
print_ πstep - pretty_
step_ name - Return qualified step name, e.g.
compile::Rustc. - step_
debug_ πargs - Renders
stepusing itsDebugimplementation and extract the field arguments out of it.