mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-06-12 21:41:06 +00:00
update to latest parity-wasm
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ pub fn externalize(
|
||||
|
||||
if let &elements::Internal::Function(func_idx) = export.1.internal() {
|
||||
let type_ref = module
|
||||
.functions_section().expect("Functions section to exist")
|
||||
.function_section().expect("Functions section to exist")
|
||||
.entries()[func_idx as usize - import_funcs_total]
|
||||
.type_ref();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user