Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bytecodealliance
GitHub Repository: bytecodealliance/wasmtime
Path: blob/main/winch/codegen/Cargo.toml
3064 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
target-lexicon = { workspace = true, features = ["std"] }
18
# The following two dependencies (cranelift-codegen, regalloc2) are temporary;
19
# mostly to have access to `PReg`s and the calling convention.
20
# In the next iteration we'll factor out the common bits so that they can be consumed
21
# by Cranelift and Winch.
22
cranelift-codegen = { workspace = true, features = ["unwind"] }
23
regalloc2 = { workspace = true }
24
cranelift-assembler-x64 = { workspace = true }
25
gimli = { workspace = true }
26
wasmtime-environ = { workspace = true }
27
wasmtime-cranelift = { workspace = true }
28
thiserror = { workspace = true }
29
wasmtime-core = { workspace = true }
30
31
[features]
32
x64 = ["cranelift-codegen/x86"]
33
arm64 = ["cranelift-codegen/arm64"]
34
all-arch = [
35
"x64",
36
"arm64",
37
]
38
gc = ['wasmtime-environ/gc']
39
gc-drc = ['wasmtime-environ/gc-drc']
40
gc-null = ['wasmtime-environ/gc-null']
41
stack-switching = ['wasmtime-environ/stack-switching']
42
threads = ['wasmtime-environ/threads']
43
wmemcheck = ['wasmtime-environ/wmemcheck']
44
45