Update wasm-tools crates (#2989)

* Update wasm-tools crates

This brings in recent updates, notably including more improvements to
wasm-smith which will hopefully help exercise non-trapping wasm more.

* Fix some wat
This commit is contained in:
Alex Crichton
2021-06-15 22:56:10 -05:00
committed by GitHub
parent 53006ef0de
commit 5140fd251a
23 changed files with 54 additions and 52 deletions

View File

@@ -17,5 +17,5 @@ cranelift-wasm = { path = "../../cranelift/wasm", version = "0.75.0" }
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.75.0" }
cranelift-frontend = { path = "../../cranelift/frontend", version = "0.75.0" }
cranelift-entity = { path = "../../cranelift/entity", version = "0.75.0" }
wasmparser = "0.78.0"
wasmparser = "0.79.0"
target-lexicon = "0.12"

View File

@@ -13,7 +13,7 @@ edition = "2018"
[dependencies]
gimli = "0.24.0"
wasmparser = "0.78"
wasmparser = "0.79"
object = { version = "0.25.0", default-features = false, features = ["read_core", "elf", "write"] }
wasmtime-environ = { path = "../environ", version = "0.28.0" }
target-lexicon = { version = "0.12.0", default-features = false }

View File

@@ -15,7 +15,7 @@ edition = "2018"
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.75.0", features = ["enable-serde"] }
cranelift-entity = { path = "../../cranelift/entity", version = "0.75.0", features = ["enable-serde"] }
cranelift-wasm = { path = "../../cranelift/wasm", version = "0.75.0", features = ["enable-serde"] }
wasmparser = "0.78"
wasmparser = "0.79"
indexmap = { version = "1.0.2", features = ["serde-1"] }
thiserror = "1.0.4"
serde = { version = "1.0.94", features = ["derive"] }

View File

@@ -13,12 +13,12 @@ arbitrary = { version = "1.0.0", features = ["derive"] }
env_logger = "0.8.1"
log = "0.4.8"
rayon = "1.2.1"
wasmparser = "0.78"
wasmprinter = "0.2.26"
wasmparser = "0.79"
wasmprinter = "0.2.27"
wasmtime = { path = "../wasmtime" }
wasmtime-wast = { path = "../wast" }
wasm-encoder = "0.4.1"
wasm-smith = "0.4.5"
wasm-encoder = "0.5.0"
wasm-smith = "0.5.0"
wasmi = "0.7.0"
[dev-dependencies]

View File

@@ -28,7 +28,7 @@ rayon = { version = "1.0", optional = true }
region = "2.2.0"
thiserror = "1.0.4"
target-lexicon = { version = "0.12.0", default-features = false }
wasmparser = "0.78"
wasmparser = "0.79"
more-asserts = "0.2.1"
anyhow = "1.0"
cfg-if = "1.0"

View File

@@ -24,7 +24,7 @@ more-asserts = "0.2.1"
smallvec = "1.6.1"
thiserror = "1.0.9"
typemap = "0.3"
wasmparser = "0.78"
wasmparser = "0.79"
[dev-dependencies]
lazy_static = "1.2"

View File

@@ -13,6 +13,6 @@ edition = "2018"
[dependencies]
lightbeam = { path = "..", version = "0.28.0" }
wasmparser = "0.78"
wasmparser = "0.79"
cranelift-codegen = { path = "../../../cranelift/codegen", version = "0.75.0" }
wasmtime-environ = { path = "../../environ", version = "0.28.0" }

View File

@@ -21,7 +21,7 @@ wasmtime-cache = { path = "../cache", version = "0.28.0", optional = true }
wasmtime-profiling = { path = "../profiling", version = "0.28.0" }
wasmtime-fiber = { path = "../fiber", version = "0.28.0", optional = true }
target-lexicon = { version = "0.12.0", default-features = false }
wasmparser = "0.78"
wasmparser = "0.79"
anyhow = "1.0.19"
region = "2.2.0"
libc = "0.2"

View File

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

View File

@@ -136,11 +136,12 @@ fn shim_module(engine: &Engine) -> Module {
engine,
r#"
(module
(memory 1)
(export "memory" (memory 0))
(import "atoms" "int_float_args" (func $int_float_args (param i32 f32) (result i32)))
(import "atoms" "double_int_return_float" (func $double_int_return_float (param i32 i32) (result i32)))
(memory 1)
(export "memory" (memory 0))
(func $int_float_args_shim (param i32 f32) (result i32)
local.get 0
local.get 1
@@ -154,7 +155,7 @@ fn shim_module(engine: &Engine) -> Module {
(export "int_float_args_shim" (func $int_float_args_shim))
(export "double_int_return_float_shim" (func $double_int_return_float_shim))
)
"#,
"#,
)
.unwrap()
}

View File

@@ -110,11 +110,12 @@ fn shim_module(engine: &Engine) -> Module {
engine,
r#"
(module
(memory 1)
(export "memory" (memory 0))
(import "atoms" "int_float_args" (func $int_float_args (param i32 f32) (result i32)))
(import "atoms" "double_int_return_float" (func $double_int_return_float (param i32 i32) (result i32)))
(memory 1)
(export "memory" (memory 0))
(func $int_float_args_shim (param i32 f32) (result i32)
local.get 0
local.get 1

View File

@@ -98,11 +98,12 @@ fn shim_module(engine: &Engine) -> Module {
engine,
r#"
(module
(memory 1)
(export "memory" (memory 0))
(import "atoms" "int_float_args" (func $int_float_args (param i32 f32) (result i32)))
(import "atoms" "double_int_return_float" (func $double_int_return_float (param i32 i32) (result i32)))
(memory 1)
(export "memory" (memory 0))
(func $int_float_args_shim (param i32 f32) (result i32)
local.get 0
local.get 1