mirror of
https://github.com/fluencelabs/wasm-utils
synced 2025-06-26 13:01:37 +00:00
fix final bug, tests impossible
This commit is contained in:
@ -97,7 +97,7 @@ pub fn pack_instance(raw_module: Vec<u8>, mut ctor_module: elements::Module) ->
|
||||
.body().with_opcodes(elements::Opcodes::new(
|
||||
vec![
|
||||
Opcode::GetLocal(0),
|
||||
Opcode::Call(create_func_id as u32),
|
||||
Opcode::Call((create_func_id + ctor_import_functions) as u32),
|
||||
Opcode::GetLocal(0),
|
||||
Opcode::I32Const(code_data_address),
|
||||
Opcode::I32Store(0, 8),
|
||||
|
Reference in New Issue
Block a user