xref: /wasmtime-44.0.1/cranelift/Cargo.toml (revision e5aa9983)
1[package]
2name = "cranelift-tools"
3authors = ["The Cranelift Project Developers"]
4version = "0.0.0"
5description = "Binaries for testing the Cranelift libraries"
6license = "Apache-2.0 WITH LLVM-exception"
7documentation = "https://github.com/bytecodealliance/wasmtime/blob/main/cranelift/docs/index.md"
8repository = "https://github.com/bytecodealliance/wasmtime"
9publish = false
10edition.workspace = true
11rust-version.workspace = true
12
13[lints]
14workspace = true
15
16[[bin]]
17name = "clif-util"
18path = "src/clif-util.rs"
19
20[dependencies]
21cfg-if = { workspace = true }
22cranelift-codegen = { workspace = true, features = [
23    "disas",
24    "trace-log",
25    "timing",
26] }
27cranelift-entity = { workspace = true }
28cranelift-interpreter = { workspace = true }
29cranelift-reader = { workspace = true }
30cranelift-frontend = { workspace = true }
31cranelift-native = { workspace = true }
32cranelift-filetests = { workspace = true }
33cranelift-module = { workspace = true }
34cranelift-object = { workspace = true }
35cranelift-jit = { workspace = true }
36cranelift = { workspace = true }
37filecheck = { workspace = true }
38log = { workspace = true }
39capstone = { workspace = true, optional = true }
40target-lexicon = { workspace = true, features = ["std"] }
41env_logger = { workspace = true }
42rayon = { version = "1", optional = true }
43thiserror = { workspace = true }
44walkdir = { workspace = true }
45anyhow = { workspace = true }
46clap = { workspace = true, features = ['default'] }
47similar = { workspace = true }
48toml = { workspace = true }
49serde = { workspace = true }
50rustc-hash = { workspace = true }
51# Note that this just enables `trace-log` for `clif-util` and doesn't turn it on
52# for all of Cranelift, which would be bad.
53regalloc2 = { workspace = true, features = ["trace-log"] }
54pulley-interpreter = { workspace = true, optional = true }
55
56[features]
57default = [
58    "disas",
59    "cranelift-codegen/all-arch",
60    "cranelift-codegen/trace-log",
61    "souper-harvest",
62]
63disas = ["capstone"]
64souper-harvest = ["cranelift-codegen/souper-harvest", "rayon"]
65all-arch = ["cranelift-codegen/all-arch"]
66all-native-arch = ["cranelift-codegen/all-native-arch"]
67pulley = ['cranelift-codegen/pulley', 'dep:pulley-interpreter']
68