Update wasm-smith (#2509)

Brings in a few bug fixes for generating module-linking modules
This commit is contained in:
Alex Crichton
2020-12-14 13:39:38 -06:00
committed by GitHub
parent ed971fcfcc
commit 2d7c2fba5f
4 changed files with 5 additions and 5 deletions

4
Cargo.lock generated
View File

@@ -2365,9 +2365,9 @@ dependencies = [
[[package]]
name = "wasm-smith"
version = "0.2.0"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cdd382e46cf44347f4d0c29122143cbab85cf248b9a8f680845c0239b6842a85"
checksum = "509904d9c4c4659ac238a3f27c3656dd6d3931697eddd4b0f32e335769c298d0"
dependencies = [
"arbitrary",
"leb128",

View File

@@ -16,7 +16,7 @@ wasmparser = "0.70"
wasmprinter = "0.2.17"
wasmtime = { path = "../wasmtime" }
wasmtime-wast = { path = "../wast" }
wasm-smith = "0.2.0"
wasm-smith = "0.3.0"
wasmi = "0.7.0"
[dev-dependencies]

View File

@@ -460,7 +460,7 @@ pub fn table_ops(config: crate::generators::Config, ops: crate::generators::tabl
/// Configuration options for wasm-smith such that generated modules always
/// conform to certain specifications.
#[derive(Default, Debug, Arbitrary)]
#[derive(Default, Debug, Arbitrary, Clone)]
pub struct DifferentialWasmiModuleConfig;
impl wasm_smith::Config for DifferentialWasmiModuleConfig {

View File

@@ -17,7 +17,7 @@ target-lexicon = "0.11"
peepmatic-fuzzing = { path = "../cranelift/peepmatic/crates/fuzzing", optional = true }
wasmtime = { path = "../crates/wasmtime" }
wasmtime-fuzzing = { path = "../crates/fuzzing" }
wasm-smith = "0.2.0"
wasm-smith = "0.3.0"
[features]
experimental_x64 = ["wasmtime-fuzzing/experimental_x64"]