Skip to main content

oxilean_codegen/native_backend/
nativeemitconfig_traits.rs

1//! # NativeEmitConfig - Trait Implementations
2//!
3//! This module contains trait implementations for `NativeEmitConfig`.
4//!
5//! ## Implemented Traits
6//!
7//! - `Default`
8//!
9//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)
10
11use crate::lcnf::*;
12
13use super::types::NativeEmitConfig;
14
15impl Default for NativeEmitConfig {
16    fn default() -> Self {
17        NativeEmitConfig {
18            opt_level: 1,
19            debug_info: false,
20            target_arch: "x86_64".to_string(),
21            num_gp_regs: 16,
22            emit_comments: true,
23        }
24    }
25}