Update the wat and wast crates (#998)
Now with support for annotations, plus a few minor bug fixes
This commit is contained in:
@@ -13,7 +13,7 @@ edition = "2018"
|
||||
[dependencies]
|
||||
anyhow = "1.0.19"
|
||||
wasmtime = { path = "../api", version = "0.9.0" }
|
||||
wast = "8.0.0"
|
||||
wast = "9.0.0"
|
||||
|
||||
[badges]
|
||||
maintenance = { status = "actively-developed" }
|
||||
|
||||
@@ -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: _,
|
||||
|
||||
Reference in New Issue
Block a user