Update to walrus 0.9.0

This commit updates the `walrus` dependency with recent upstream API
changes in `walrus` itself, namely updates to passive segements and how
memory data segments are handled
This commit is contained in:
Alex Crichton
2019-07-29 13:04:45 -07:00
parent 68a1519eaa
commit 0daa290129
8 changed files with 28 additions and 20 deletions

View File

@ -676,7 +676,7 @@ impl Transform<'_> {
// initialized correctly.
fn inject_initialization(&mut self, module: &mut Module) {
let ty = module.types.add(&[], &[]);
let import = module.add_import_func(
let (import, _) = module.add_import_func(
"__wbindgen_placeholder__",
"__wbindgen_init_anyref_table",
ty,