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