Enum rustc::session::config::Lto [−][src]
pub enum Lto { No, Yes, Thin, ThinLocal, Fat, }
🔬 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?
Variants
No
🔬 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?
Don't do any LTO whatsoever
Yes
🔬 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?
Do a full crate graph LTO. The flavor is determined by the compiler (currently the default is "fat").
Thin
🔬 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?
Do a full crate graph LTO with ThinLTO
ThinLocal
🔬 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?
Do a local graph LTO with ThinLTO (only relevant for multiple codegen units).
Fat
🔬 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?
Do a full crate graph LTO with "fat" LTO
Trait Implementations
impl DepTrackingHash for Lto
[src]
impl DepTrackingHash for Lto
fn hash(&self, hasher: &mut DefaultHasher, _: ErrorOutputType)
[src]
fn hash(&self, hasher: &mut DefaultHasher, _: ErrorOutputType)
🔬 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?
impl Clone for Lto
[src]
impl Clone for Lto
fn clone(&self) -> Lto
[src]
fn clone(&self) -> Lto
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for Lto
[src]
impl Copy for Lto
impl PartialEq for Lto
[src]
impl PartialEq for Lto
fn eq(&self, other: &Lto) -> bool
[src]
fn eq(&self, other: &Lto) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Hash for Lto
[src]
impl Hash for Lto