Struct rustc::session::config::Options
[−]
[src]
pub struct Options {
pub crate_types: Vec<CrateType>,
pub gc: bool,
pub optimize: OptLevel,
pub debug_assertions: bool,
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<PathBuf>,
pub target_triple: String,
pub cfg: CrateConfig,
pub test: bool,
pub parse_only: bool,
pub no_trans: bool,
pub treat_err_as_bug: bool,
pub no_analysis: bool,
pub debugging_opts: DebuggingOptions,
pub write_dependency_info: (bool, Option<PathBuf>),
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,
}Unstable
Fields
crate_types | Unstable |
gc | Unstable |
optimize | Unstable |
debug_assertions | Unstable |
debuginfo | Unstable |
lint_opts | Unstable |
describe_lints | Unstable |
output_types | Unstable |
search_paths | Unstable |
libs | Unstable |
maybe_sysroot | Unstable |
target_triple | Unstable |
cfg | Unstable |
test | Unstable |
parse_only | Unstable |
no_trans | Unstable |
treat_err_as_bug | Unstable |
no_analysis | Unstable |
debugging_opts | Unstable |
write_dependency_info | Unstable Whether to write dependency files. It's (enabled, optional filename). |
prints | Unstable |
cg | Unstable |
color | Unstable |
show_span | Unstable |
externs | Unstable |
crate_name | Unstable |
alt_std_name | Unstable An optional name to use as the crate for std during std injection,
written |
unstable_features | Unstable Indicates how the compiler should treat unstable features |