Module rustc::session::config [] [src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Contains infrastructure for configuring the compiler, including parsing command line options.

Reexports

pub use self::EntryFnType::*;
pub use self::CrateType::*;
pub use self::Passes::*;
pub use self::DebugInfoLevel::*;

Modules

nightly_options [
Experimental
]

Structs

CodegenOptions [
Experimental
]
Config [
Experimental
]
DebuggingOptions [
Experimental
]
Externs [
Experimental
]
Options [
Experimental
]
OutputFilenames [
Experimental
]
OutputTypes [
Experimental
]
RustcOptGroup [
Experimental
]

Enums

BorrowckMode [
Experimental
]
CrateType [
Experimental
]
DebugInfoLevel [
Experimental
]
EntryFnType [
Experimental
]
ErrorOutputType [
Experimental
]
Input [
Experimental
]
OptLevel [
Experimental
]
OptionStability [
Experimental
]
OutputType [
Experimental
]
Passes [
Experimental
]
PrintRequest [
Experimental
]
Sanitizer [
Experimental
]

Constants

CG_OPTIONS [
Experimental
]
DB_OPTIONS [
Experimental
]
RUST_CGU_EXT [
Experimental
]

Functions

basic_codegen_options [
Experimental
]
basic_debugging_options [
Experimental
]
basic_options [
Experimental
]

Some reasonable defaults

build_codegen_options [
Experimental
]
build_configuration [
Experimental
]
build_debugging_options [
Experimental
]
build_session_options_and_crate_config [
Experimental
]
build_target_config [
Experimental
]
default_configuration [
Experimental
]
default_lib_output [
Experimental
]
host_triple [
Experimental
]
parse_cfgspecs [
Experimental
]
parse_crate_types_from_list [
Experimental
]
rustc_optgroups [
Experimental
]

Returns all rustc command line options, including metadata for each option, such as whether the option is part of the stable long-term interface for rustc.

rustc_short_optgroups [
Experimental
]

Returns the "short" subset of the rustc command line options, including metadata for each option, such as whether the option is part of the stable long-term interface for rustc.

Type Definitions

CodegenSetter [
Experimental
]
DebuggingSetter [
Experimental
]