Files
wasmtime/crates/fuzzing/wasm-spec-interpreter/Cargo.toml
Alex Crichton 174b60dcf7 Add *.wast support for invoking components (#4526)
This commit builds on bytecodealliance/wasm-tools#690 to add support to
testing of the component model to execute functions when running
`*.wast` files. This support is all built on #4442 as functions are
invoked through a "dynamic" API. Right now the testing and integration
is fairly crude but I'm hoping that we can try to improve it over time
as necessary. For now this should provide a hopefully more convenient
syntax for unit tests and the like.
2022-07-27 21:02:16 +00:00

23 lines
777 B
TOML

[package]
authors = ["The Wasmtime Project Developers"]
description = "A Rust-to-OCaml wrapper for the WebAssembly specification interpreter"
name = "wasm-spec-interpreter"
version = "0.1.0"
publish = false
edition = "2021"
license = "Apache-2.0 WITH LLVM-exception"
# Until https://gitlab.com/ocaml-rust/ocaml-boxroot/-/issues/1 is resolved and
# this crate can use the `without-ocamlopt` feature to avoid build failures, it
# is better to only build the OCaml dependencies when fuzzing (see the
# `build-libinterpret` feature set by this crate's parent).
[dependencies]
ocaml-interop = { version = "0.8", optional = true }
once_cell = { version = "1.12.0", optional = true }
[dev-dependencies]
wat = "1.0.47"
[features]
build-libinterpret = ["ocaml-interop", "once_cell"]