pub struct ReproducibleBuildConfig {
pub lto: bool,
pub opt_level: u32,
pub strip: bool,
pub rust_version: String,
}Expand description
Reproducible build configuration.
Fields§
§lto: boolEnable LTO (Link Time Optimization).
opt_level: u32Optimization level (0-3).
strip: boolStrip debug symbols.
rust_version: StringPin Rust version.
Implementations§
Source§impl ReproducibleBuildConfig
impl ReproducibleBuildConfig
Sourcepub fn default_release() -> Self
pub fn default_release() -> Self
Create default reproducible build configuration.
Trait Implementations§
Source§impl Clone for ReproducibleBuildConfig
impl Clone for ReproducibleBuildConfig
Source§fn clone(&self) -> ReproducibleBuildConfig
fn clone(&self) -> ReproducibleBuildConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ReproducibleBuildConfig
impl RefUnwindSafe for ReproducibleBuildConfig
impl Send for ReproducibleBuildConfig
impl Sync for ReproducibleBuildConfig
impl Unpin for ReproducibleBuildConfig
impl UnsafeUnpin for ReproducibleBuildConfig
impl UnwindSafe for ReproducibleBuildConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more