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.
29 lines
764 B
TOML
29 lines
764 B
TOML
[package]
|
|
name = "test-programs"
|
|
version = "0.19.0"
|
|
authors = ["The Wasmtime Project Developers"]
|
|
readme = "README.md"
|
|
edition = "2021"
|
|
publish = false
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
|
|
[build-dependencies]
|
|
cfg-if = "1.0"
|
|
|
|
[dev-dependencies]
|
|
wasi-common = { path = "../wasi-common", version = "0.40.0" }
|
|
wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync", version = "0.40.0" }
|
|
wasmtime = { path = "../wasmtime", version = "0.40.0" }
|
|
wasmtime-wasi = { path = "../wasi", version = "0.40.0", features = ["tokio"] }
|
|
target-lexicon = "0.12.0"
|
|
pretty_env_logger = "0.4.0"
|
|
tempfile = "3.1.0"
|
|
os_pipe = "0.9"
|
|
anyhow = "1.0.19"
|
|
wat = "1.0.47"
|
|
cap-std = "0.25.0"
|
|
tokio = { version = "1.8.0", features = ["rt-multi-thread"] }
|
|
|
|
[features]
|
|
test_programs = []
|