Update the wat and wast crates (#998)

Now with support for annotations, plus a few minor bug fixes
This commit is contained in:
Alex Crichton
2020-02-26 12:36:00 -06:00
committed by GitHub
parent d55a9967b1
commit 427fc9a732
4 changed files with 9 additions and 9 deletions

View File

@@ -240,7 +240,7 @@ impl WastContext {
match directive {
Module(mut module) => {
let binary = module.encode()?;
self.module(module.name.map(|s| s.name()), &binary)?;
self.module(module.id.map(|s| s.name()), &binary)?;
}
Register {
span: _,