Update the wat and wast crates (#998)
Now with support for annotations, plus a few minor bug fixes
This commit is contained in:
@@ -22,7 +22,7 @@ cfg-if = "0.1.9"
|
||||
backtrace = "0.3.42"
|
||||
rustc-demangle = "0.1.16"
|
||||
lazy_static = "1.4"
|
||||
wat = { version = "1.0.8", optional = true }
|
||||
wat = { version = "1.0.10", optional = true }
|
||||
|
||||
[target.'cfg(target_os = "windows")'.dependencies]
|
||||
winapi = "0.3.7"
|
||||
|
||||
@@ -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