Struct rustc::session::config::OptionsUnstable [-] [+] [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 search_paths: SearchPaths,
    pub libs: Vec<(String, NativeLibraryKind)>,
    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: DebuggingOptions,
    pub write_dependency_info: (bool, Option<Path>),
    pub prints: Vec<PrintRequest>,
    pub cg: CodegenOptions,
    pub color: ColorConfig,
    pub show_span: Option<String>,
    pub externs: HashMap<String, Vec<String>>,
    pub crate_name: Option<String>,
    pub alt_std_name: Option<String>,
    pub unstable_features: UnstableFeatures,
}

Fields

crate_types
gc
optimize
debuginfo
lint_opts
describe_lints
output_types
search_paths
libs
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).

prints
cg
color
show_span
externs
crate_name
alt_std_name

An optional name to use as the crate for std during std injection, written extern crate std = "name". Default to "std". Used by out-of-tree drivers.

unstable_features

Indicates how the compiler should treat unstable features

Trait Implementations

Derived Implementations

impl Clone for Options

fn clone(&self) -> Options

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