mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-10-20 18:56:22 +00:00
fix final bug, tests impossible
This commit is contained in:
1 parent
48035e1724
commit
1264a262d1
1 file changed
+1
-1
+1
-1
@@ -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