Struct cairo_lang_compiler::CompilerConfig
source · pub struct CompilerConfig<'c> {
pub diagnostics_reporter: DiagnosticsReporter<'c>,
pub replace_ids: bool,
pub allowed_libfuncs_list_name: Option<String>,
}
Expand description
Configuration for the compiler.
Fields§
§diagnostics_reporter: DiagnosticsReporter<'c>
§replace_ids: bool
Replaces sierra ids with human-readable ones.
allowed_libfuncs_list_name: Option<String>
The name of the allowed libfuncs list to use in compilation. If None the default list of audited libfuncs will be used.
Trait Implementations§
Auto Trait Implementations§
impl<'c> !RefUnwindSafe for CompilerConfig<'c>
impl<'c> !Send for CompilerConfig<'c>
impl<'c> !Sync for CompilerConfig<'c>
impl<'c> Unpin for CompilerConfig<'c>
impl<'c> !UnwindSafe for CompilerConfig<'c>
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