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:
42
Cargo.lock
generated
42
Cargo.lock
generated
@@ -583,7 +583,7 @@ dependencies = [
|
|||||||
"smallvec",
|
"smallvec",
|
||||||
"souper-ir",
|
"souper-ir",
|
||||||
"target-lexicon",
|
"target-lexicon",
|
||||||
"wast 35.0.2",
|
"wast 36.0.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -1977,7 +1977,7 @@ dependencies = [
|
|||||||
"peepmatic-test-operator",
|
"peepmatic-test-operator",
|
||||||
"peepmatic-traits",
|
"peepmatic-traits",
|
||||||
"serde",
|
"serde",
|
||||||
"wast 35.0.2",
|
"wast 36.0.0",
|
||||||
"z3",
|
"z3",
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -2005,7 +2005,7 @@ dependencies = [
|
|||||||
"peepmatic-traits",
|
"peepmatic-traits",
|
||||||
"rand 0.8.3",
|
"rand 0.8.3",
|
||||||
"serde",
|
"serde",
|
||||||
"wast 35.0.2",
|
"wast 36.0.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -2030,7 +2030,7 @@ dependencies = [
|
|||||||
"serde",
|
"serde",
|
||||||
"serde_test",
|
"serde_test",
|
||||||
"thiserror",
|
"thiserror",
|
||||||
"wast 35.0.2",
|
"wast 36.0.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -2042,7 +2042,7 @@ dependencies = [
|
|||||||
"peepmatic",
|
"peepmatic",
|
||||||
"peepmatic-test-operator",
|
"peepmatic-test-operator",
|
||||||
"souper-ir",
|
"souper-ir",
|
||||||
"wast 35.0.2",
|
"wast 36.0.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -2063,7 +2063,7 @@ version = "0.75.0"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"peepmatic-traits",
|
"peepmatic-traits",
|
||||||
"serde",
|
"serde",
|
||||||
"wast 35.0.2",
|
"wast 36.0.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -3424,18 +3424,18 @@ checksum = "d7cff876b8f18eed75a66cf49b65e7f967cb354a7aa16003fb55dbfd25b44b4f"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasm-encoder"
|
name = "wasm-encoder"
|
||||||
version = "0.4.1"
|
version = "0.5.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "51b4949d4f2b25a4b208317dcf86aacef9e7a5884e48dfc45d4aeb91808d6f86"
|
checksum = "72b3fb3541f4cdc05f0eacd7ce5544d69a4cc3e922ef1e7f37c1e7cb8b1e8e66"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"leb128",
|
"leb128",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasm-smith"
|
name = "wasm-smith"
|
||||||
version = "0.4.5"
|
version = "0.5.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "f7e95fdeed16adeffed44efdc7ccf27d4f57ff2e99de417c75bcee7dee09049b"
|
checksum = "c0b73bf3c616211529547284f12db7bb1e4d9bca11c738533490546239bbd120"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"arbitrary",
|
"arbitrary",
|
||||||
"indexmap",
|
"indexmap",
|
||||||
@@ -3469,15 +3469,15 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmparser"
|
name = "wasmparser"
|
||||||
version = "0.78.2"
|
version = "0.79.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "52144d4c78e5cf8b055ceab8e5fa22814ce4315d6002ad32cfd914f37c12fd65"
|
checksum = "5b5894be15a559c85779254700e1d35f02f843b5a69152e5c82c626d9fd66c0e"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wasmprinter"
|
name = "wasmprinter"
|
||||||
version = "0.2.26"
|
version = "0.2.27"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "2ccec894c70710c2e4669320a532cb2b9cfb97adb0429745642f8ce76916ed85"
|
checksum = "fe6f65000c9b653a87ba9b8bebe9230371337db2b7e70db724ee4b79d2b9936f"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"wasmparser",
|
"wasmparser",
|
||||||
@@ -3617,7 +3617,7 @@ dependencies = [
|
|||||||
"wasmtime-wasi-crypto",
|
"wasmtime-wasi-crypto",
|
||||||
"wasmtime-wasi-nn",
|
"wasmtime-wasi-nn",
|
||||||
"wasmtime-wast",
|
"wasmtime-wast",
|
||||||
"wast 35.0.2",
|
"wast 36.0.0",
|
||||||
"wat",
|
"wat",
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -3848,7 +3848,7 @@ version = "0.28.0"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"wasmtime",
|
"wasmtime",
|
||||||
"wast 35.0.2",
|
"wast 36.0.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -3862,20 +3862,20 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wast"
|
name = "wast"
|
||||||
version = "35.0.2"
|
version = "36.0.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "2ef140f1b49946586078353a453a1d28ba90adfc54dde75710bc1931de204d68"
|
checksum = "8b5d7ba374a364571da1cb0a379a3dc302582a2d9937a183bfe35b68ad5bb9c4"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"leb128",
|
"leb128",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "wat"
|
name = "wat"
|
||||||
version = "1.0.37"
|
version = "1.0.38"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "8ec280a739b69173e0ffd12c1658507996836ba4e992ed9bc1e5385a0bd72a02"
|
checksum = "16383df7f0e3901484c2dda6294ed6895caa3627ce4f6584141dcf30a33a23e6"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"wast 35.0.2",
|
"wast 36.0.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
|||||||
@@ -38,12 +38,12 @@ anyhow = "1.0.19"
|
|||||||
target-lexicon = { version = "0.12.0", default-features = false }
|
target-lexicon = { version = "0.12.0", default-features = false }
|
||||||
pretty_env_logger = "0.4.0"
|
pretty_env_logger = "0.4.0"
|
||||||
file-per-thread-logger = "0.1.1"
|
file-per-thread-logger = "0.1.1"
|
||||||
wat = "1.0.37"
|
wat = "1.0.38"
|
||||||
libc = "0.2.60"
|
libc = "0.2.60"
|
||||||
log = "0.4.8"
|
log = "0.4.8"
|
||||||
rayon = "1.5.0"
|
rayon = "1.5.0"
|
||||||
humantime = "2.0.0"
|
humantime = "2.0.0"
|
||||||
wasmparser = "0.78.1"
|
wasmparser = "0.79.0"
|
||||||
lazy_static = "1.4.0"
|
lazy_static = "1.4.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
@@ -56,7 +56,7 @@ wasmtime-fuzzing = { path = "crates/fuzzing" }
|
|||||||
wasmtime-runtime = { path = "crates/runtime" }
|
wasmtime-runtime = { path = "crates/runtime" }
|
||||||
tokio = { version = "1.5.0", features = ["rt", "time", "macros", "rt-multi-thread"] }
|
tokio = { version = "1.5.0", features = ["rt", "time", "macros", "rt-multi-thread"] }
|
||||||
tracing-subscriber = "0.2.16"
|
tracing-subscriber = "0.2.16"
|
||||||
wast = "35.0.0"
|
wast = "36.0.0"
|
||||||
criterion = "0.3.4"
|
criterion = "0.3.4"
|
||||||
num_cpus = "1.13.0"
|
num_cpus = "1.13.0"
|
||||||
|
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ peepmatic-traits = { path = "../peepmatic/crates/traits", optional = true, versi
|
|||||||
peepmatic-runtime = { path = "../peepmatic/crates/runtime", optional = true, version = "0.75.0" }
|
peepmatic-runtime = { path = "../peepmatic/crates/runtime", optional = true, version = "0.75.0" }
|
||||||
regalloc = { version = "0.0.31" }
|
regalloc = { version = "0.0.31" }
|
||||||
souper-ir = { version = "2.1.0", optional = true }
|
souper-ir = { version = "2.1.0", optional = true }
|
||||||
wast = { version = "35.0.0", optional = true }
|
wast = { version = "36.0.0", optional = true }
|
||||||
# It is a goal of the cranelift-codegen crate to have minimal external dependencies.
|
# It is a goal of the cranelift-codegen crate to have minimal external dependencies.
|
||||||
# Please don't add any unless they are essential to the task of creating binary
|
# Please don't add any unless they are essential to the task of creating binary
|
||||||
# machine code. Integration tests that need external dependencies can be
|
# machine code. Integration tests that need external dependencies can be
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ peepmatic-macro = { version = "0.75.0", path = "crates/macro" }
|
|||||||
peepmatic-runtime = { version = "0.75.0", path = "crates/runtime", features = ["construct"] }
|
peepmatic-runtime = { version = "0.75.0", path = "crates/runtime", features = ["construct"] }
|
||||||
peepmatic-traits = { version = "0.75.0", path = "crates/traits" }
|
peepmatic-traits = { version = "0.75.0", path = "crates/traits" }
|
||||||
serde = { version = "1.0.105", features = ["derive"] }
|
serde = { version = "1.0.105", features = ["derive"] }
|
||||||
wast = "35.0.0"
|
wast = "36.0.0"
|
||||||
z3 = { version = "0.7.1", features = ["static-link-z3"] }
|
z3 = { version = "0.7.1", features = ["static-link-z3"] }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|||||||
@@ -21,4 +21,4 @@ peepmatic-test-operator = { path = "../test-operator" }
|
|||||||
peepmatic-traits = { path = "../traits" }
|
peepmatic-traits = { path = "../traits" }
|
||||||
rand = { version = "0.8.3", features = ["small_rng"] }
|
rand = { version = "0.8.3", features = ["small_rng"] }
|
||||||
serde = "1.0.106"
|
serde = "1.0.106"
|
||||||
wast = "35.0.0"
|
wast = "36.0.0"
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ peepmatic-automata = { version = "0.75.0", path = "../automata", features = ["se
|
|||||||
peepmatic-traits = { version = "0.75.0", path = "../traits" }
|
peepmatic-traits = { version = "0.75.0", path = "../traits" }
|
||||||
serde = { version = "1.0.105", features = ["derive"] }
|
serde = { version = "1.0.105", features = ["derive"] }
|
||||||
thiserror = "1.0.15"
|
thiserror = "1.0.15"
|
||||||
wast = { version = "35.0.0", optional = true }
|
wast = { version = "36.0.0", optional = true }
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
peepmatic-test-operator = { version = "0.75.0", path = "../test-operator" }
|
peepmatic-test-operator = { version = "0.75.0", path = "../test-operator" }
|
||||||
|
|||||||
@@ -16,4 +16,4 @@ log = "0.4.8"
|
|||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
peepmatic = { path = "../..", version = "0.75.0" }
|
peepmatic = { path = "../..", version = "0.75.0" }
|
||||||
peepmatic-test-operator = { version = "0.75.0", path = "../test-operator" }
|
peepmatic-test-operator = { version = "0.75.0", path = "../test-operator" }
|
||||||
wast = "35.0.0"
|
wast = "36.0.0"
|
||||||
|
|||||||
@@ -11,4 +11,4 @@ edition = "2018"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
peepmatic-traits = { version = "0.75.0", path = "../traits" }
|
peepmatic-traits = { version = "0.75.0", path = "../traits" }
|
||||||
serde = { version = "1.0.105", features = ["derive"] }
|
serde = { version = "1.0.105", features = ["derive"] }
|
||||||
wast = "35.0.0"
|
wast = "36.0.0"
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ keywords = ["webassembly", "wasm"]
|
|||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
wasmparser = { version = "0.78", default-features = false }
|
wasmparser = { version = "0.79", default-features = false }
|
||||||
cranelift-codegen = { path = "../codegen", version = "0.75.0", default-features = false }
|
cranelift-codegen = { path = "../codegen", version = "0.75.0", default-features = false }
|
||||||
cranelift-entity = { path = "../entity", version = "0.75.0" }
|
cranelift-entity = { path = "../entity", version = "0.75.0" }
|
||||||
cranelift-frontend = { path = "../frontend", version = "0.75.0", default-features = false }
|
cranelift-frontend = { path = "../frontend", version = "0.75.0", default-features = false }
|
||||||
|
|||||||
@@ -552,7 +552,6 @@ pub fn translate_operator<FE: FuncEnvironment + ?Sized>(
|
|||||||
Operator::Try { .. }
|
Operator::Try { .. }
|
||||||
| Operator::Catch { .. }
|
| Operator::Catch { .. }
|
||||||
| Operator::Throw { .. }
|
| Operator::Throw { .. }
|
||||||
| Operator::Unwind
|
|
||||||
| Operator::Rethrow { .. }
|
| Operator::Rethrow { .. }
|
||||||
| Operator::Delegate { .. }
|
| Operator::Delegate { .. }
|
||||||
| Operator::CatchAll => {
|
| Operator::CatchAll => {
|
||||||
|
|||||||
@@ -17,5 +17,5 @@ cranelift-wasm = { path = "../../cranelift/wasm", version = "0.75.0" }
|
|||||||
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.75.0" }
|
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.75.0" }
|
||||||
cranelift-frontend = { path = "../../cranelift/frontend", version = "0.75.0" }
|
cranelift-frontend = { path = "../../cranelift/frontend", version = "0.75.0" }
|
||||||
cranelift-entity = { path = "../../cranelift/entity", 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"
|
target-lexicon = "0.12"
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
gimli = "0.24.0"
|
gimli = "0.24.0"
|
||||||
wasmparser = "0.78"
|
wasmparser = "0.79"
|
||||||
object = { version = "0.25.0", default-features = false, features = ["read_core", "elf", "write"] }
|
object = { version = "0.25.0", default-features = false, features = ["read_core", "elf", "write"] }
|
||||||
wasmtime-environ = { path = "../environ", version = "0.28.0" }
|
wasmtime-environ = { path = "../environ", version = "0.28.0" }
|
||||||
target-lexicon = { version = "0.12.0", default-features = false }
|
target-lexicon = { version = "0.12.0", default-features = false }
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ edition = "2018"
|
|||||||
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.75.0", features = ["enable-serde"] }
|
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-entity = { path = "../../cranelift/entity", version = "0.75.0", features = ["enable-serde"] }
|
||||||
cranelift-wasm = { path = "../../cranelift/wasm", 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"] }
|
indexmap = { version = "1.0.2", features = ["serde-1"] }
|
||||||
thiserror = "1.0.4"
|
thiserror = "1.0.4"
|
||||||
serde = { version = "1.0.94", features = ["derive"] }
|
serde = { version = "1.0.94", features = ["derive"] }
|
||||||
|
|||||||
@@ -13,12 +13,12 @@ arbitrary = { version = "1.0.0", features = ["derive"] }
|
|||||||
env_logger = "0.8.1"
|
env_logger = "0.8.1"
|
||||||
log = "0.4.8"
|
log = "0.4.8"
|
||||||
rayon = "1.2.1"
|
rayon = "1.2.1"
|
||||||
wasmparser = "0.78"
|
wasmparser = "0.79"
|
||||||
wasmprinter = "0.2.26"
|
wasmprinter = "0.2.27"
|
||||||
wasmtime = { path = "../wasmtime" }
|
wasmtime = { path = "../wasmtime" }
|
||||||
wasmtime-wast = { path = "../wast" }
|
wasmtime-wast = { path = "../wast" }
|
||||||
wasm-encoder = "0.4.1"
|
wasm-encoder = "0.5.0"
|
||||||
wasm-smith = "0.4.5"
|
wasm-smith = "0.5.0"
|
||||||
wasmi = "0.7.0"
|
wasmi = "0.7.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ rayon = { version = "1.0", optional = true }
|
|||||||
region = "2.2.0"
|
region = "2.2.0"
|
||||||
thiserror = "1.0.4"
|
thiserror = "1.0.4"
|
||||||
target-lexicon = { version = "0.12.0", default-features = false }
|
target-lexicon = { version = "0.12.0", default-features = false }
|
||||||
wasmparser = "0.78"
|
wasmparser = "0.79"
|
||||||
more-asserts = "0.2.1"
|
more-asserts = "0.2.1"
|
||||||
anyhow = "1.0"
|
anyhow = "1.0"
|
||||||
cfg-if = "1.0"
|
cfg-if = "1.0"
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ more-asserts = "0.2.1"
|
|||||||
smallvec = "1.6.1"
|
smallvec = "1.6.1"
|
||||||
thiserror = "1.0.9"
|
thiserror = "1.0.9"
|
||||||
typemap = "0.3"
|
typemap = "0.3"
|
||||||
wasmparser = "0.78"
|
wasmparser = "0.79"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
lazy_static = "1.2"
|
lazy_static = "1.2"
|
||||||
|
|||||||
@@ -13,6 +13,6 @@ edition = "2018"
|
|||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
lightbeam = { path = "..", version = "0.28.0" }
|
lightbeam = { path = "..", version = "0.28.0" }
|
||||||
wasmparser = "0.78"
|
wasmparser = "0.79"
|
||||||
cranelift-codegen = { path = "../../../cranelift/codegen", version = "0.75.0" }
|
cranelift-codegen = { path = "../../../cranelift/codegen", version = "0.75.0" }
|
||||||
wasmtime-environ = { path = "../../environ", version = "0.28.0" }
|
wasmtime-environ = { path = "../../environ", version = "0.28.0" }
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ wasmtime-cache = { path = "../cache", version = "0.28.0", optional = true }
|
|||||||
wasmtime-profiling = { path = "../profiling", version = "0.28.0" }
|
wasmtime-profiling = { path = "../profiling", version = "0.28.0" }
|
||||||
wasmtime-fiber = { path = "../fiber", version = "0.28.0", optional = true }
|
wasmtime-fiber = { path = "../fiber", version = "0.28.0", optional = true }
|
||||||
target-lexicon = { version = "0.12.0", default-features = false }
|
target-lexicon = { version = "0.12.0", default-features = false }
|
||||||
wasmparser = "0.78"
|
wasmparser = "0.79"
|
||||||
anyhow = "1.0.19"
|
anyhow = "1.0.19"
|
||||||
region = "2.2.0"
|
region = "2.2.0"
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ edition = "2018"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.19"
|
anyhow = "1.0.19"
|
||||||
wasmtime = { path = "../wasmtime", version = "0.28.0", default-features = false }
|
wasmtime = { path = "../wasmtime", version = "0.28.0", default-features = false }
|
||||||
wast = "35.0.2"
|
wast = "36.0.0"
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
maintenance = { status = "actively-developed" }
|
maintenance = { status = "actively-developed" }
|
||||||
|
|||||||
@@ -136,11 +136,12 @@ fn shim_module(engine: &Engine) -> Module {
|
|||||||
engine,
|
engine,
|
||||||
r#"
|
r#"
|
||||||
(module
|
(module
|
||||||
(memory 1)
|
|
||||||
(export "memory" (memory 0))
|
|
||||||
(import "atoms" "int_float_args" (func $int_float_args (param i32 f32) (result i32)))
|
(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)))
|
(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)
|
(func $int_float_args_shim (param i32 f32) (result i32)
|
||||||
local.get 0
|
local.get 0
|
||||||
local.get 1
|
local.get 1
|
||||||
@@ -154,7 +155,7 @@ fn shim_module(engine: &Engine) -> Module {
|
|||||||
(export "int_float_args_shim" (func $int_float_args_shim))
|
(export "int_float_args_shim" (func $int_float_args_shim))
|
||||||
(export "double_int_return_float_shim" (func $double_int_return_float_shim))
|
(export "double_int_return_float_shim" (func $double_int_return_float_shim))
|
||||||
)
|
)
|
||||||
"#,
|
"#,
|
||||||
)
|
)
|
||||||
.unwrap()
|
.unwrap()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -110,11 +110,12 @@ fn shim_module(engine: &Engine) -> Module {
|
|||||||
engine,
|
engine,
|
||||||
r#"
|
r#"
|
||||||
(module
|
(module
|
||||||
(memory 1)
|
|
||||||
(export "memory" (memory 0))
|
|
||||||
(import "atoms" "int_float_args" (func $int_float_args (param i32 f32) (result i32)))
|
(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)))
|
(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)
|
(func $int_float_args_shim (param i32 f32) (result i32)
|
||||||
local.get 0
|
local.get 0
|
||||||
local.get 1
|
local.get 1
|
||||||
|
|||||||
@@ -98,11 +98,12 @@ fn shim_module(engine: &Engine) -> Module {
|
|||||||
engine,
|
engine,
|
||||||
r#"
|
r#"
|
||||||
(module
|
(module
|
||||||
(memory 1)
|
|
||||||
(export "memory" (memory 0))
|
|
||||||
(import "atoms" "int_float_args" (func $int_float_args (param i32 f32) (result i32)))
|
(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)))
|
(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)
|
(func $int_float_args_shim (param i32 f32) (result i32)
|
||||||
local.get 0
|
local.get 0
|
||||||
local.get 1
|
local.get 1
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ target-lexicon = "0.12"
|
|||||||
peepmatic-fuzzing = { path = "../cranelift/peepmatic/crates/fuzzing", optional = true }
|
peepmatic-fuzzing = { path = "../cranelift/peepmatic/crates/fuzzing", optional = true }
|
||||||
wasmtime = { path = "../crates/wasmtime" }
|
wasmtime = { path = "../crates/wasmtime" }
|
||||||
wasmtime-fuzzing = { path = "../crates/fuzzing" }
|
wasmtime-fuzzing = { path = "../crates/fuzzing" }
|
||||||
wasm-smith = "0.4.0"
|
wasm-smith = "0.5.0"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
# Leave a stub feature with no side-effects in place for now: the OSS-Fuzz
|
# Leave a stub feature with no side-effects in place for now: the OSS-Fuzz
|
||||||
|
|||||||
Reference in New Issue
Block a user