Update wasm-tools dependencies

Brings in fixes for some assorted wast issues.
This commit is contained in:
Alex Crichton
2020-11-09 07:03:36 -08:00
committed by Andrew Brown
parent 5df5bbbdca
commit 8dd091219a
18 changed files with 48 additions and 48 deletions

View File

@@ -12,11 +12,11 @@ arbitrary = { version = "0.4.1", features = ["derive"] }
env_logger = "0.8.1"
log = "0.4.8"
rayon = "1.2.1"
wasmparser = "0.65.0"
wasmprinter = "0.2.12"
wasmparser = "0.66.0"
wasmprinter = "0.2.13"
wasmtime = { path = "../wasmtime" }
wasmtime-wast = { path = "../wast" }
wasm-smith = "0.1.9"
wasm-smith = "0.1.10"
[dev-dependencies]
wat = "1.0.23"
wat = "1.0.28"

View File

@@ -223,7 +223,7 @@ fn predict_rss(wasm: &[u8]) -> Result<usize> {
for entry in s {
let initial = match entry? {
MemoryType::M32 { limits, .. } => limits.initial as usize,
MemoryType::M64 { limits } => limits.initial as usize,
MemoryType::M64 { limits, .. } => limits.initial as usize,
};
prediction += initial * 64 * 1024;
}