Add import names, whoops.

This commit is contained in:
Lachlan Sneff 2019-03-04 10:19:38 -08:00
parent 3f9dbca17f
commit deea9e98a4

View File

@ -111,6 +111,9 @@ pub fn read_module(wasm: &[u8]) -> Result<(ModuleInfo, CodeSectionReader), Binar
}
}
}
info.namespace_table = namespace_builder.finish();
info.name_table = name_builder.finish();
}
SectionCode::Function => {
let func_decl_reader = section.get_function_section_reader()?;