[package]
authors = ["The Cranelift Project Developers"]
name = "cranelift-codegen"
version = "0.86.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 = "2021"
[dependencies]
cranelift-codegen-shared = { path = "./shared", version = "0.86.1" }
cranelift-entity = { path = "../entity", version = "0.86.1" }
cranelift-bforest = { path = "../bforest", version = "0.86.1" }
hashbrown = { version = "0.11", optional = true }
target-lexicon = "0.12"
log = { version = "0.4.6", default-features = false }
serde = { version = "1.0.94", features = ["derive"], optional = true }
bincode = { version = "1.2.1", optional = true }
gimli = { version = "0.26.0", default-features = false, features = ["write"], optional = true }
smallvec = { version = "1.6.1" }
regalloc2 = { version = "0.3.0", features = ["checker"] }
souper-ir = { version = "2.1.0", optional = true }
[dev-dependencies]
criterion = "0.3"
[build-dependencies]
cranelift-codegen-meta = { path = "meta", version = "0.86.1" }
cranelift-isle = { path = "../isle/isle", version = "=0.86.1" }
miette = { version = "4.7.0", features = ["fancy"], optional = true }
[features]
default = ["std", "unwind"]
std = []
core = ["hashbrown"]
testing_hooks = []
unwind = ["gimli"]
x86 = []
arm64 = []
s390x = []
experimental_x64 = []
all-arch = [
"x86",
"arm64",
"s390x"
]
enable-serde = [
"serde",
"cranelift-entity/enable-serde",
"regalloc2/enable-serde",
]
souper-harvest = ["souper-ir", "souper-ir/stringify"]
isle-errors = ["miette", "cranelift-isle/miette-errors"]
isle-in-source-tree = []
[badges]
maintenance = { status = "experimental" }
[[bench]]
name = "x64-evex-encoding"
harness = false