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.24.0" 8edition.workspace = true 9rust-version.workspace = true 10 11[lints] 12workspace = true 13 14[dependencies] 15wasmparser = { workspace = true } 16smallvec = { workspace = true } 17anyhow = { workspace = true } 18target-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. 23cranelift-codegen = { workspace = true, features = ["unwind"] } 24regalloc2 = { workspace = true } 25gimli = { workspace = true } 26wasmtime-environ = { workspace = true } 27wasmtime-cranelift = { workspace = true } 28 29[features] 30x64 = ["cranelift-codegen/x86"] 31arm64 = ["cranelift-codegen/arm64"] 32all-arch = [ 33 "x64", 34 "arm64", 35] 36