pub fn empty_module() -> CompiledModuleMut {
    CompiledModuleMut {
        module_handles: vec![ModuleHandle {
            address: AddressIdentifierIndex(0),
            name: IdentifierIndex(0),
        }],
        self_module_handle_idx: ModuleHandleIndex(0),
        identifiers: vec![self_module_name().to_owned()],
        address_identifiers: vec![AccountAddress::ZERO],
        constant_pool: vec![],
        function_defs: vec![],
        struct_defs: vec![],
        struct_handles: vec![],
        function_handles: vec![],
        field_handles: vec![],
        struct_def_instantiations: vec![],
        function_instantiations: vec![],
        field_instantiations: vec![],
        signatures: vec![Signature(vec![])],
    }
}
/// Return the simplest module that will pass the bounds checker
Return the simplest module that will pass the bounds checker
Return the simplest module that will pass the bounds checker
pub fn empty_module() -> CompiledModuleMut {
    CompiledModuleMut {
        module_handles: vec![ModuleHandle {
            address: AddressIdentifierIndex(0),
            name: IdentifierIndex(0),
        }],
        self_module_handle_idx: ModuleHandleIndex(0),
        identifiers: vec![self_module_name().to_owned()],
        address_identifiers: vec![AccountAddress::ZERO],
        constant_pool: vec![],
        function_defs: vec![],
        struct_defs: vec![],
        struct_handles: vec![],
        function_handles: vec![],
        field_handles: vec![],
        struct_def_instantiations: vec![],
        function_instantiations: vec![],
        field_instantiations: vec![],
        signatures: vec![Signature(vec![])],
    }
}
pub fn empty_module ( ) -> CompiledModuleMut { CompiledModuleMut { module_handles : vec ! [ ModuleHandle { address AddressIdentifierIndex ( 0 ) name IdentifierIndex ( 0 ) } ] , self_module_handle_idx : ModuleHandleIndex ( 0 ) , identifiers : vec ! [ self_module_name ( ) to_owned ( ) ] , address_identifiers : vec ! [ AccountAddress ZERO ] , constant_pool : vec ! [ ] , function_defs : vec ! [ ] , struct_defs : vec ! [ ] , struct_handles : vec ! [ ] , function_handles : vec ! [ ] , field_handles : vec ! [ ] , struct_def_instantiations : vec ! [ ] , function_instantiations : vec ! [ ] , field_instantiations : vec ! [ ] , signatures : vec ! [ Signature ( vec [ ] ) ] , } }
Return the simplest module that will pass the bounds checker
Return the simplest module that will pass the bounds checker