Fix importing same types in two modules/crates

This'll hopefully fix fallout from 4f4da747ad
This commit is contained in:
Alex Crichton
2018-08-27 09:59:47 -07:00
parent 0f787e42f8
commit 85fd49f90a
2 changed files with 16 additions and 0 deletions

View File

@ -201,6 +201,8 @@ impl Bindgen {
function_table_needed: false,
interpreter: &mut instance,
memory_init: None,
imported_functions: Default::default(),
imported_statics: Default::default(),
};
for program in programs.iter() {
js::SubContext {