1[package] 2authors = ["The Winch Project Developers"] 3name = "winch-codegen" 4description = "Winch code generation library" 5license = "Apache-2.0 WITH LLVM-exception" 6repository = "https://github.com/bytecodealliance/wasmtime" 7version = "0.15.0" 8edition.workspace = true 9 10[lints] 11workspace = true 12 13[dependencies] 14wasmparser = { workspace = true } 15smallvec = { workspace = true } 16anyhow = { workspace = true } 17target-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. 22cranelift-codegen = { workspace = true } 23regalloc2 = { workspace = true } 24gimli = { workspace = true } 25wasmtime-environ = { workspace = true } 26 27[features] 28x64 = ["cranelift-codegen/x86"] 29arm64 = ["cranelift-codegen/arm64"] 30all-arch = [ 31 "x64", 32 "arm64", 33] 34