Files
wasmtime/cranelift/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

51 lines
1.9 KiB
TOML

[package]
name = "cranelift-tools"
authors = ["The Cranelift Project Developers"]
version = "0.73.0"
description = "Binaries for testing the Cranelift libraries"
license = "Apache-2.0 WITH LLVM-exception"
documentation = "https://github.com/bytecodealliance/wasmtime/blob/main/cranelift/docs/index.md"
repository = "https://github.com/bytecodealliance/wasmtime"
publish = false
edition = "2021"
[[bin]]
name = "clif-util"
path = "src/clif-util.rs"
[dependencies]
cfg-if = "1.0"
cranelift-codegen = { path = "codegen", version = "0.87.0" }
cranelift-entity = { path = "entity", version = "0.87.0" }
cranelift-interpreter = { path = "interpreter", version = "0.87.0" }
cranelift-reader = { path = "reader", version = "0.87.0" }
cranelift-frontend = { path = "frontend", version = "0.87.0" }
cranelift-wasm = { path = "wasm", version = "0.87.0", optional = true }
cranelift-native = { path = "native", version = "0.87.0" }
cranelift-filetests = { path = "filetests", version = "0.73.0" }
cranelift-module = { path = "module", version = "0.87.0" }
cranelift-object = { path = "object", version = "0.87.0" }
cranelift-jit = { path = "jit", version = "0.87.0" }
cranelift-preopt = { path = "preopt", version = "0.87.0" }
cranelift = { path = "umbrella", version = "0.87.0" }
filecheck = "0.5.0"
log = "0.4.8"
termcolor = "1.1.2"
capstone = { version = "0.9.0", optional = true }
wat = { version = "1.0.47", optional = true }
target-lexicon = { version = "0.12", features = ["std"] }
pretty_env_logger = "0.4.0"
rayon = { version = "1", optional = true }
indicatif = "0.13.0"
thiserror = "1.0.15"
walkdir = "2.2"
anyhow = "1.0.32"
clap = { version = "3.2.0", features = ["derive"] }
[features]
default = ["disas", "wasm", "cranelift-codegen/all-arch", "souper-harvest"]
disas = ["capstone"]
wasm = ["wat", "cranelift-wasm"]
souper-harvest = ["cranelift-codegen/souper-harvest", "rayon"]
all-arch = ["cranelift-codegen/all-arch"]