Struct rustc::driver::config::Options[src]

pub struct Options {
    pub crate_types: Vec<CrateType>,
    pub gc: bool,
    pub optimize: OptLevel,
    pub debuginfo: DebugInfoLevel,
    pub lint_opts: Vec<(String, Level)>,
    pub describe_lints: bool,
    pub output_types: Vec<OutputType>,
    pub addl_lib_search_paths: RefCell<HashSet<Path>>,
    pub maybe_sysroot: Option<Path>,
    pub target_triple: String,
    pub cfg: CrateConfig,
    pub test: bool,
    pub parse_only: bool,
    pub no_trans: bool,
    pub no_analysis: bool,
    pub debugging_opts: u64,
    pub write_dependency_info: (bool, Option<Path>),
    pub print_metas: (bool, bool, bool),
    pub cg: CodegenOptions,
    pub color: ColorConfig,
}

Fields

crate_types
gc
optimize
debuginfo
lint_opts
describe_lints
output_types
addl_lib_search_paths
maybe_sysroot
target_triple
cfg
test
parse_only
no_trans
no_analysis
debugging_opts
write_dependency_info

Whether to write dependency files. It's (enabled, optional filename).

print_metas

Crate id-related things to maybe print. It's (crate_id, crate_name, crate_file_name).

cg
color

Trait Implementations

Derived Implementations

impl Clone for Options

fn clone(&self) -> Options

fn clone_from(&mut self, source: &Self)