[package]
name = "cranelift-tools"
authors = ["The Cranelift Project Developers"]
version = "0.0.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.workspace = true
rust-version.workspace = true
[lints]
workspace = true
[[bin]]
name = "clif-util"
path = "src/clif-util.rs"
[dependencies]
cfg-if = { workspace = true }
cranelift-codegen = { workspace = true, features = [
"disas",
"trace-log",
"timing",
] }
cranelift-entity = { workspace = true }
cranelift-interpreter = { workspace = true }
cranelift-reader = { workspace = true }
cranelift-frontend = { workspace = true }
cranelift-native = { workspace = true }
cranelift-filetests = { workspace = true }
cranelift-module = { workspace = true }
cranelift-object = { workspace = true }
cranelift-jit = { workspace = true }
cranelift = { workspace = true }
filecheck = { workspace = true }
log = { workspace = true }
capstone = { workspace = true, optional = true }
target-lexicon = { workspace = true, features = ["std"] }
env_logger = { workspace = true }
rayon = { version = "1", optional = true }
indicatif = "0.13.0"
thiserror = { workspace = true }
walkdir = { workspace = true }
anyhow = { workspace = true }
clap = { workspace = true, features = ['default'] }
similar = { workspace = true }
toml = { workspace = true }
serde = { workspace = true }
rustc-hash = { workspace = true }
regalloc2 = { workspace = true, features = ["trace-log"] }
pulley-interpreter = { workspace = true, optional = true }
[features]
default = [
"disas",
"cranelift-codegen/all-arch",
"cranelift-codegen/trace-log",
"souper-harvest",
]
disas = ["capstone"]
souper-harvest = ["cranelift-codegen/souper-harvest", "rayon"]
all-arch = ["cranelift-codegen/all-arch"]
all-native-arch = ["cranelift-codegen/all-native-arch"]
pulley = ['cranelift-codegen/pulley', 'dep:pulley-interpreter']