This PR switches the default backend on x86, for both the `cranelift-codegen` crate and for Wasmtime, to the new (`MachInst`-style, `VCode`-based) backend that has been under development and testing for some time now. The old backend is still available by default in builds with the `old-x86-backend` feature, or by requesting `BackendVariant::Legacy` from the appropriate APIs. As part of that switch, it adds some more runtime-configurable plumbing to the testing infrastructure so that tests can be run using the appropriate backend. `clif-util test` is now capable of parsing a backend selector option from filetests and instantiating the correct backend. CI has been updated so that the old x86 backend continues to run its tests, just as we used to run the new x64 backend separately. At some point, we will remove the old x86 backend entirely, once we are satisfied that the new backend has not caused any unforeseen issues and we do not need to revert.
26 lines
582 B
TOML
26 lines
582 B
TOML
[package]
|
|
authors = ["The Wasmtime Project Developers"]
|
|
description = "Fuzzing infrastructure for Wasmtime"
|
|
edition = "2018"
|
|
name = "wasmtime-fuzzing"
|
|
publish = false
|
|
version = "0.19.0"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0.22"
|
|
arbitrary = { version = "1.0.0", features = ["derive"] }
|
|
env_logger = "0.8.1"
|
|
log = "0.4.8"
|
|
rayon = "1.2.1"
|
|
wasmparser = "0.77"
|
|
wasmprinter = "0.2.25"
|
|
wasmtime = { path = "../wasmtime" }
|
|
wasmtime-wast = { path = "../wast" }
|
|
wasm-encoder = "0.4.1"
|
|
wasm-smith = "0.4.4"
|
|
wasmi = "0.7.0"
|
|
|
|
[dev-dependencies]
|
|
wat = "1.0.37"
|