[][src]Struct rustc_ap_rustc_session::config::CodegenOptions

pub struct CodegenOptions {
    pub ar: Option<String>,
    pub linker: Option<PathBuf>,
    pub link_arg: (),
    pub link_args: Vec<String>,
    pub link_dead_code: bool,
    pub lto: LtoCli,
    pub target_cpu: Option<String>,
    pub target_feature: String,
    pub passes: Vec<String>,
    pub llvm_args: Vec<String>,
    pub save_temps: bool,
    pub rpath: bool,
    pub overflow_checks: Option<bool>,
    pub no_prepopulate_passes: bool,
    pub no_vectorize_loops: bool,
    pub no_vectorize_slp: bool,
    pub soft_float: bool,
    pub prefer_dynamic: bool,
    pub no_redzone: Option<bool>,
    pub relocation_model: Option<String>,
    pub code_model: Option<String>,
    pub metadata: Vec<String>,
    pub extra_filename: String,
    pub codegen_units: Option<usize>,
    pub remark: Passes,
    pub no_stack_check: bool,
    pub debuginfo: Option<usize>,
    pub opt_level: Option<String>,
    pub force_frame_pointers: Option<bool>,
    pub debug_assertions: Option<bool>,
    pub inline_threshold: Option<usize>,
    pub panic: Option<PanicStrategy>,
    pub incremental: Option<String>,
    pub default_linker_libraries: Option<bool>,
    pub linker_flavor: Option<LinkerFlavor>,
    pub linker_plugin_lto: LinkerPluginLto,
    pub profile_generate: SwitchWithOptPath,
    pub profile_use: Option<PathBuf>,
}

Fields

ar: Option<String>linker: Option<PathBuf>link_arg: ()link_args: Vec<String>link_dead_code: boollto: LtoClitarget_cpu: Option<String>target_feature: Stringpasses: Vec<String>llvm_args: Vec<String>save_temps: boolrpath: booloverflow_checks: Option<bool>no_prepopulate_passes: boolno_vectorize_loops: boolno_vectorize_slp: boolsoft_float: boolprefer_dynamic: boolno_redzone: Option<bool>relocation_model: Option<String>code_model: Option<String>metadata: Vec<String>extra_filename: Stringcodegen_units: Option<usize>remark: Passesno_stack_check: booldebuginfo: Option<usize>opt_level: Option<String>force_frame_pointers: Option<bool>debug_assertions: Option<bool>inline_threshold: Option<usize>panic: Option<PanicStrategy>incremental: Option<String>default_linker_libraries: Option<bool>linker_flavor: Option<LinkerFlavor>linker_plugin_lto: LinkerPluginLtoprofile_generate: SwitchWithOptPathprofile_use: Option<PathBuf>

Trait Implementations

impl Clone for CodegenOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeResult<T> for T[src]

type Error = !

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<E> SpecializationError for E[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.