Skip to main content

Module flags

Module flags 

Source
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. If path does not exist, always returns Some.
normalize_args πŸ”’
top_level_help
Return the top level help of the bootstrap.