Update to cranelift 0.58.0 and enable (but ignore) reference types and bulk memory tests (#926)
* Update cranelift to 0.58.0 * Update `wasmprinter` dep to require 0.2.1 We already had it in the lock file, but this ensures we won't ever go back down. * Ensure that our error messages match `assert_invalid`'s The bulk of this work was done in https://github.com/bytecodealliance/wasmparser/pull/186 but now we can test it at the `wasmtime` level as well. Fixes #492 * Stop feeling guilty about not matching `assert_malformed` messages Remove the "TODO" and stop printing warning messages. These would just be busy work to implement, and getting all the messages the exact same relies on using the same structure as the spec interpreter's parser, which means that where you have a helper function and they don't, then things go wrong, and vice versa. Not worth it. Fixes #492 * Enable (but ignore) the reference-types proposal tests * Match test suite directly, instead of roundabout starts/endswith * Enable (but ignore) bulk memory operations proposal test suite
This commit is contained in:
@@ -13,9 +13,9 @@ edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0"
|
||||
cranelift-codegen = { version = "0.56", features = ["enable-serde"] }
|
||||
cranelift-entity = { version = "0.56", features = ["enable-serde"] }
|
||||
cranelift-wasm = { version = "0.56", features = ["enable-serde"] }
|
||||
cranelift-codegen = { version = "0.58.0", features = ["enable-serde"] }
|
||||
cranelift-entity = { version = "0.58.0", features = ["enable-serde"] }
|
||||
cranelift-wasm = { version = "0.58.0", features = ["enable-serde"] }
|
||||
wasmparser = "0.51.0"
|
||||
lightbeam = { path = "../lightbeam", optional = true, version = "0.9.0" }
|
||||
indexmap = "1.0.2"
|
||||
@@ -44,7 +44,7 @@ tempfile = "3"
|
||||
target-lexicon = { version = "0.10.0", default-features = false }
|
||||
pretty_env_logger = "0.3.0"
|
||||
rand = { version = "0.7.0", default-features = false, features = ["small_rng"] }
|
||||
cranelift-codegen = { version = "0.56", features = ["enable-serde", "all-arch"] }
|
||||
cranelift-codegen = { version = "0.58.0", features = ["enable-serde", "all-arch"] }
|
||||
filetime = "0.2.7"
|
||||
lazy_static = "1.3.0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user