Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bytecodealliance
GitHub Repository: bytecodealliance/wasmtime
Path: blob/main/winch/codegen/Cargo.toml
1690 views
1
[package]
2
authors = ["The Winch Project Developers"]
3
name = "winch-codegen"
4
description = "Winch code generation library"
5
license = "Apache-2.0 WITH LLVM-exception"
6
repository = "https://github.com/bytecodealliance/wasmtime"
7
version.workspace = true
8
edition.workspace = true
9
rust-version.workspace = true
10
11
[lints]
12
workspace = true
13
14
[dependencies]
15
wasmparser = { workspace = true }
16
smallvec = { workspace = true }
17
anyhow = { workspace = true }
18
target-lexicon = { workspace = true, features = ["std"] }
19
# The following two dependencies (cranelift-codegen, regalloc2) are temporary;
20
# mostly to have access to `PReg`s and the calling convention.
21
# In the next iteration we'll factor out the common bits so that they can be consumed
22
# by Cranelift and Winch.
23
cranelift-codegen = { workspace = true, features = ["unwind"] }
24
regalloc2 = { workspace = true }
25
cranelift-assembler-x64 = { workspace = true }
26
gimli = { workspace = true }
27
wasmtime-environ = { workspace = true }
28
wasmtime-cranelift = { workspace = true }
29
thiserror = { workspace = true }
30
wasmtime-math = { workspace = true }
31
32
[features]
33
x64 = ["cranelift-codegen/x86"]
34
arm64 = ["cranelift-codegen/arm64"]
35
all-arch = [
36
"x64",
37
"arm64",
38
]
39
gc = ['wasmtime-environ/gc']
40
gc-drc = ['wasmtime-environ/gc-drc']
41
gc-null = ['wasmtime-environ/gc-null']
42
stack-switching = ['wasmtime-environ/stack-switching']
43
threads = ['wasmtime-environ/threads']
44
wmemcheck = ['wasmtime-environ/wmemcheck']
45
46