update to latest parity-wasm

This commit is contained in:
NikVolf
2017-06-06 16:54:22 +03:00
parent 050c0b76a8
commit 4882bace69
4 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -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();