pub fn new(cfg: TargetFrontendConfig) -> Self {
        Self {
            cfg,
            start_func: None,
            signatures: Vec::new(),
            func_sigs: Vec::new(),
            func_bodies: Vec::new(),
            memories: Vec::new(),
            function_imports: Vec::new(),
            tables: Vec::new(),
            table_elements: Vec::new(),
            globals: Vec::new(),
            data_initializers: Vec::new(),
            exports: HashMap::new(),
        }
    }
/// Creates a new module environment for the given configuration.
Creates a new module environment for the given configuration.
Creates a new module environment for the given configuration .
pub fn new(cfg: TargetFrontendConfig) -> Self {
        Self {
            cfg,
            start_func: None,
            signatures: Vec::new(),
            func_sigs: Vec::new(),
            func_bodies: Vec::new(),
            memories: Vec::new(),
            function_imports: Vec::new(),
            tables: Vec::new(),
            table_elements: Vec::new(),
            globals: Vec::new(),
            data_initializers: Vec::new(),
            exports: HashMap::new(),
        }
    }
pub fn new ( cfg : TargetFrontendConfig ) -> Self { Self { cfg , start_func : None , signatures : Vec :: new ( ) , func_sigs : Vec :: new ( ) , func_bodies : Vec :: new ( ) , memories : Vec :: new ( ) , function_imports : Vec :: new ( ) , tables : Vec :: new ( ) , table_elements : Vec :: new ( ) , globals : Vec :: new ( ) , data_initializers : Vec :: new ( ) , exports : HashMap :: new ( ) , } }
Creates a new module environment for the given configuration.
Creates a new module environment for the given configuration .
cfg
TargetFrontendConfig
cfg
TargetFrontendConfig