Update deps and tests for anyref --> externref

* Update to using `wasmparser` 0.55.0
* Update wasmprinter to 0.2.5
* Update `wat` to 1.0.18, and `wast` to 17.0.0
This commit is contained in:
Nick Fitzgerald
2020-05-13 10:26:29 -07:00
parent 0c8c3f588a
commit 1a4f3fb2df
26 changed files with 155 additions and 183 deletions

View File

@@ -23,7 +23,7 @@ wasmtime = { path = "../wasmtime", default-features = false }
wasmtime-c-api-macros = { path = "macros" }
# Optional dependency for the `wat2wasm` API
wat = { version = "1.0", optional = true }
wat = { version = "1.0.18", optional = true }
# Optional dependencies for the `wasi` feature
wasi-common = { path = "../wasi-common", optional = true }

View File

@@ -13,7 +13,7 @@ edition = "2018"
[dependencies]
gimli = "0.20.0"
wasmparser = "0.52.0"
wasmparser = "0.55.0"
faerie = "0.15.0"
wasmtime-environ = { path = "../environ", version = "0.16.0" }
target-lexicon = { version = "0.10.0", default-features = false }

View File

@@ -16,7 +16,7 @@ anyhow = "1.0"
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.63.0", features = ["enable-serde"] }
cranelift-entity = { path = "../../cranelift/entity", version = "0.63.0", features = ["enable-serde"] }
cranelift-wasm = { path = "../../cranelift/wasm", version = "0.63.0", features = ["enable-serde"] }
wasmparser = "0.52.0"
wasmparser = "0.55.0"
lightbeam = { path = "../lightbeam", optional = true, version = "0.16.0" }
indexmap = "1.0.2"
rayon = "1.2.1"

View File

@@ -13,10 +13,10 @@ binaryen = { version = "0.10.0", optional = true }
env_logger = "0.7.1"
log = "0.4.8"
rayon = "1.2.1"
wasmparser = "0.52.0"
wasmprinter = "0.2.1"
wasmparser = "0.55.0"
wasmprinter = "0.2.5"
wasmtime = { path = "../wasmtime" }
wasmtime-wast = { path = "../wast" }
[dev-dependencies]
wat = "1.0.10"
wat = "1.0.18"

View File

@@ -24,7 +24,7 @@ wasmtime-profiling = { path = "../profiling", version = "0.16.0" }
region = "2.0.0"
thiserror = "1.0.4"
target-lexicon = { version = "0.10.0", default-features = false }
wasmparser = "0.52.0"
wasmparser = "0.55.0"
more-asserts = "0.2.1"
anyhow = "1.0"
cfg-if = "0.1.9"

View File

@@ -24,11 +24,11 @@ smallvec = "1.0.0"
staticvec = "0.9"
thiserror = "1.0.9"
typemap = "0.3"
wasmparser = "0.52.0"
wasmparser = "0.55.0"
[dev-dependencies]
lazy_static = "1.2"
wat = "1.0.9"
wat = "1.0.18"
quickcheck = "0.9.0"
anyhow = "1.0"

View File

@@ -2127,8 +2127,10 @@ where
WasmOperator::I64Const { value } => one(Operator::Const(Value::I64(value))),
WasmOperator::F32Const { value } => one(Operator::Const(Value::F32(value.into()))),
WasmOperator::F64Const { value } => one(Operator::Const(Value::F64(value.into()))),
WasmOperator::RefNull => return Err(Error::Microwasm("RefNull unimplemented".into())),
WasmOperator::RefIsNull => {
WasmOperator::RefNull { ty: _ } => {
return Err(Error::Microwasm("RefNull unimplemented".into()))
}
WasmOperator::RefIsNull { ty: _ } => {
return Err(Error::Microwasm("RefIsNull unimplemented".into()))
}
WasmOperator::I32Eqz => one(Operator::Eqz(Size::_32)),

View File

@@ -18,7 +18,7 @@ pretty_env_logger = "0.4.0"
tempfile = "3.1.0"
os_pipe = "0.9"
anyhow = "1.0.19"
wat = "1.0.10"
wat = "1.0.18"
[features]
test_programs = []

View File

@@ -14,7 +14,7 @@ wasmtime-runtime = { path = "../runtime", version = "0.16.0" }
wasmtime-environ = { path = "../environ", version = "0.16.0" }
wasmtime-jit = { path = "../jit", version = "0.16.0" }
wasmtime-profiling = { path = "../profiling", version = "0.16.0" }
wasmparser = "0.52.0"
wasmparser = "0.55.0"
target-lexicon = { version = "0.10.0", default-features = false }
anyhow = "1.0.19"
region = "2.0.0"
@@ -23,7 +23,7 @@ cfg-if = "0.1.9"
backtrace = "0.3.42"
rustc-demangle = "0.1.16"
lazy_static = "1.4"
wat = { version = "1.0.10", optional = true }
wat = { version = "1.0.18", optional = true }
[target.'cfg(target_os = "windows")'.dependencies]
winapi = "0.3.7"

View File

@@ -13,7 +13,7 @@ edition = "2018"
[dependencies]
anyhow = "1.0.19"
wasmtime = { path = "../wasmtime", version = "0.16.0", default-features = false }
wast = "15.0.0"
wast = "17.0.0"
[badges]
maintenance = { status = "actively-developed" }