[package]
authors = ["The Cranelift Project Developers"]
name = "cranelift-codegen"
version = "0.92.1"
description = "Low-level code generator library"
license = "Apache-2.0 WITH LLVM-exception"
documentation = "https://docs.rs/cranelift-codegen"
repository = "https://github.com/bytecodealliance/wasmtime"
categories = ["no-std"]
readme = "README.md"
keywords = ["compile", "compiler", "jit"]
build = "build.rs"
edition.workspace = true
[dependencies]
arrayvec = "0.7"
bumpalo = "3"
cranelift-codegen-shared = { path = "./shared", version = "0.92.1" }
cranelift-entity = { workspace = true }
cranelift-bforest = { workspace = true }
hashbrown = { workspace = true }
target-lexicon = { workspace = true }
log = { workspace = true }
serde = { version = "1.0.94", features = ["derive"], optional = true }
bincode = { version = "1.2.1", optional = true }
gimli = { workspace = true, features = ["write"], optional = true }
smallvec = { workspace = true }
regalloc2 = { version = "0.5.1", features = ["checker"] }
souper-ir = { version = "2.1.0", optional = true }
sha2 = { version = "0.10.2", optional = true }
[dev-dependencies]
criterion = "0.3"
similar = "2.1.0"
[build-dependencies]
cranelift-codegen-meta = { path = "meta", version = "0.92.1" }
cranelift-isle = { path = "../isle/isle", version = "=0.92.1" }
[features]
default = ["std", "unwind", "trace-log"]
std = []
core = []
testing_hooks = []
trace-log = []
unwind = ["gimli"]
x86 = []
arm64 = []
s390x = []
riscv64 = []
experimental_x64 = []
all-arch = [
"x86",
"arm64",
"s390x",
"riscv64"
]
enable-serde = [
"serde",
"cranelift-entity/enable-serde",
"regalloc2/enable-serde",
"smallvec/serde"
]
incremental-cache = [
"enable-serde",
"bincode",
"sha2"
]
souper-harvest = ["souper-ir", "souper-ir/stringify"]
isle-errors = ["cranelift-isle/fancy-errors"]
isle-in-source-tree = []
[badges]
maintenance = { status = "experimental" }
[[bench]]
name = "x64-evex-encoding"
harness = false