[package]
authors = ["The Winch Project Developers"]
name = "winch-codegen"
description = "Winch code generation library"
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wasmtime"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
[lints]
workspace = true
[dependencies]
wasmparser = { workspace = true }
smallvec = { workspace = true }
anyhow = { workspace = true }
target-lexicon = { workspace = true, features = ["std"] }
cranelift-codegen = { workspace = true, features = ["unwind"] }
regalloc2 = { workspace = true }
gimli = { workspace = true }
wasmtime-environ = { workspace = true }
wasmtime-cranelift = { workspace = true }
[features]
x64 = ["cranelift-codegen/x86"]
arm64 = ["cranelift-codegen/arm64"]
all-arch = [
"x64",
"arm64",
]