Fix broken test

This commit is contained in:
Lachlan Sneff 2019-03-05 14:57:37 -08:00
parent 48b36a3b01
commit f36aade2e5

View File

@ -468,6 +468,8 @@ mod vm_ctx_tests {
vm_memories: Map::new().into_boxed_map(), vm_memories: Map::new().into_boxed_map(),
vm_tables: Map::new().into_boxed_map(), vm_tables: Map::new().into_boxed_map(),
vm_globals: Map::new().into_boxed_map(), vm_globals: Map::new().into_boxed_map(),
dynamic_sigindices: Map::new().into_boxed_map(),
}; };
let mut import_backing = ImportBacking { let mut import_backing = ImportBacking {
memories: Map::new().into_boxed_map(), memories: Map::new().into_boxed_map(),
@ -478,8 +480,6 @@ mod vm_ctx_tests {
vm_memories: Map::new().into_boxed_map(), vm_memories: Map::new().into_boxed_map(),
vm_tables: Map::new().into_boxed_map(), vm_tables: Map::new().into_boxed_map(),
vm_globals: Map::new().into_boxed_map(), vm_globals: Map::new().into_boxed_map(),
dynamic_sigindices: Map::new().into_boxed_map(),
}; };
let module = generate_module(); let module = generate_module();
let data = &mut data as *mut _ as *mut c_void; let data = &mut data as *mut _ as *mut c_void;