pub struct CompilerConfig {
pub language: Language,
pub opt_level: OptLevel,
pub max_registers: u32,
pub wave_width: u32,
pub dump_hir: bool,
pub dump_mir: bool,
pub dump_lir: bool,
}Expand description
Compiler configuration.
Fields§
§language: LanguageSource language.
opt_level: OptLevelOptimization level.
max_registers: u32Maximum registers for allocation.
wave_width: u32Wave width (SIMD lanes).
dump_hir: boolWhether to dump HIR.
dump_mir: boolWhether to dump MIR.
dump_lir: boolWhether to dump LIR.
Trait Implementations§
Source§impl Clone for CompilerConfig
impl Clone for CompilerConfig
Source§fn clone(&self) -> CompilerConfig
fn clone(&self) -> CompilerConfig
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 moreSource§impl Debug for CompilerConfig
impl Debug for CompilerConfig
Auto Trait Implementations§
impl Freeze for CompilerConfig
impl RefUnwindSafe for CompilerConfig
impl Send for CompilerConfig
impl Sync for CompilerConfig
impl Unpin for CompilerConfig
impl UnsafeUnpin for CompilerConfig
impl UnwindSafe for CompilerConfig
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