Files
wasmtime/fuzz/Cargo.toml
Josh Triplett c0c7851cb6 Fix fuzz build (#458)
Update to binaryen 0.8.1, as 0.5.0 doesn't build on current systems.

Update to match API changes in wasmtime and wasmparser.
2019-11-04 20:45:42 -08:00

39 lines
947 B
TOML

[package]
name = "wasmtime-fuzz"
version = "0.0.0"
authors = ["The Wasmtime Project Developers"]
edition = "2018"
publish = false
[package.metadata]
cargo-fuzz = true
[dependencies]
wasmtime-environ = { path = "../wasmtime-environ" }
wasmtime-jit = { path = "../wasmtime-jit" }
cranelift-codegen = { version = "0.47", features = ["enable-serde"] }
cranelift-wasm = { version = "0.47", features = ["enable-serde"] }
cranelift-native = { version = "0.47" }
libfuzzer-sys = { git = "https://github.com/rust-fuzz/libfuzzer-sys.git" }
wasmparser = { version = "0.39.2", default-features = false }
binaryen = "0.8.1"
[features]
default = ["wasmparser/core"]
# Prevent this from interfering with workspaces
[workspace]
members = ["."]
[[bin]]
name = "compile"
path = "fuzz_targets/compile.rs"
[[bin]]
name = "instantiate"
path = "fuzz_targets/instantiate.rs"
[[bin]]
name = "instantiate_translated"
path = "fuzz_targets/instantiate_translated.rs"