cranelift-codegen 0.114.0

Low-level code generator library
Documentation
[[bench]]
harness = false
name = "x64-evex-encoding"
path = "benches/x64-evex-encoding.rs"

[build-dependencies.cranelift-codegen-meta]
version = "0.114.0"

[build-dependencies.cranelift-isle]
version = "=0.114.0"

[dependencies.anyhow]
default-features = false
features = ["std"]
optional = true
version = "1.0.22"

[dependencies.bumpalo]
version = "3"

[dependencies.capstone]
optional = true
version = "0.12.0"

[dependencies.cranelift-bforest]
version = "0.114.0"

[dependencies.cranelift-bitset]
version = "0.114.0"

[dependencies.cranelift-codegen-shared]
version = "0.114.0"

[dependencies.cranelift-control]
version = "0.114.0"

[dependencies.cranelift-entity]
version = "0.114.0"

[dependencies.gimli]
default-features = false
features = ["read", "write", "std"]
optional = true
version = "0.31.0"

[dependencies.hashbrown]
default-features = false
features = ["raw"]
version = "0.14"

[dependencies.log]
default-features = false
version = "0.4.8"

[dependencies.postcard]
default-features = false
features = ["alloc"]
optional = true
version = "1.0.8"

[dependencies.pulley-interpreter]
optional = true
version = "=27.0.0"

[dependencies.regalloc2]
features = ["checker"]
version = "0.10.2"

[dependencies.rustc-hash]
version = "2.0.0"

[dependencies.serde]
default-features = false
features = ["alloc"]
optional = true
version = "1.0.188"

[dependencies.serde_derive]
optional = true
version = "1.0.188"

[dependencies.sha2]
optional = true
version = "0.10.2"

[dependencies.smallvec]
features = ["union"]
version = "1.6.1"

[dependencies.souper-ir]
optional = true
version = "2.1.0"

[dependencies.target-lexicon]
version = "0.12.16"

[dev-dependencies.criterion]
default-features = false
features = ["html_reports", "rayon"]
version = "0.5.0"

[dev-dependencies.env_logger]
version = "0.11.5"

[dev-dependencies.similar]
version = "2.1.0"

[features]
all-arch = ["all-native-arch", "pulley"]
all-native-arch = ["x86", "arm64", "s390x", "riscv64"]
arm64 = []
core = []
default = ["std", "unwind", "host-arch", "timing"]
disas = ["anyhow", "capstone"]
enable-serde = ["serde", "serde_derive", "cranelift-entity/enable-serde", "cranelift-bitset/enable-serde", "regalloc2/enable-serde", "smallvec/serde"]
host-arch = []
incremental-cache = ["enable-serde", "postcard", "sha2"]
isle-errors = ["cranelift-isle/fancy-errors"]
isle-in-source-tree = []
pulley = ["dep:pulley-interpreter", "pulley-interpreter/encode", "pulley-interpreter/disas"]
riscv64 = []
s390x = []
souper-harvest = ["souper-ir", "souper-ir/stringify"]
std = ["serde?/std"]
timing = []
trace-log = ["regalloc2/trace-log"]
unwind = ["gimli"]
x86 = []

[lib]
name = "cranelift_codegen"
path = "src/lib.rs"

[lints.clippy]
clone_on_copy = "warn"
manual_strip = "warn"
map_clone = "warn"
uninlined_format_args = "warn"
unnecessary_cast = "warn"
unnecessary_fallible_conversions = "warn"
unnecessary_mut_passed = "warn"
unnecessary_to_owned = "warn"

[lints.clippy.all]
level = "allow"
priority = -1

[lints.rust]
trivial_numeric_casts = "warn"
unstable_features = "warn"
unused-lifetimes = "warn"
unused-macro-rules = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"

[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(pulley_tail_calls)"]
level = "warn"
priority = 0

[package]
authors = ["The Cranelift Project Developers"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = "build.rs"
categories = ["no-std"]
description = "Low-level code generator library"
documentation = "https://docs.rs/cranelift-codegen"
edition = "2021"
keywords = ["compile", "compiler", "jit"]
license = "Apache-2.0 WITH LLVM-exception"
name = "cranelift-codegen"
readme = "README.md"
repository = "https://github.com/bytecodealliance/wasmtime"
rust-version = "1.80.0"
version = "0.114.0"

[package.metadata.docs.rs]
features = ["all-arch"]