Expand description
Command-line interface of the bootstrap build system.
This module implements the command-line parsing of the build system which has various flags to configure how itβs run.
Re-exportsΒ§
use std::path::Path;πuse std::path::PathBuf;πuse clap::CommandFactory;πuse clap::Parser;πuse clap::ValueEnum;πuse clap_complete::Generator;πuse crate::core::backend::CodegenBackendKind;πuse crate::core::build_steps::perf::PerfArgs;πuse crate::core::build_steps::setup::Profile;πuse crate::core::build_steps::test::TestTarget;πuse crate::core::builder::Builder;πuse crate::core::builder::Kind;πuse crate::core::config::Config;πuse crate::core::config::target_selection::TargetSelectionList;πuse crate::core::config::target_selection::target_selection_list;πuse crate::core::session::Session;πuse crate::utils::helpers;π
StructsΒ§
- Flags
- Deserialized version of all flags for this compile.
EnumsΒ§
- Color
- Subcommand
- Warnings
- Whether to deny warnings, emit them as warnings, or use the default behavior
FunctionsΒ§
- get_
completion - Returns the shell completion for a given shell, if the result differs from the current
content of
path. Ifpathdoes not exist, always returnsSome. - normalize_
args π - top_
level_ help - Return the top level help of the bootstrap.