[package]
name = "cranelift-jit"
version = "0.125.0"
authors = ["The Cranelift Project Developers"]
description = "A JIT library backed by Cranelift"
repository = "https://github.com/bytecodealliance/wasmtime"
documentation = "https://docs.rs/cranelift-jit"
license = "Apache-2.0 WITH LLVM-exception"
readme = "README.md"
edition.workspace = true
rust-version.workspace = true
[lints]
workspace = true
[dependencies]
cranelift-module = { workspace = true }
cranelift-native = { workspace = true }
cranelift-codegen = { workspace = true, features = ["std"] }
cranelift-entity = { workspace = true }
cranelift-control = { workspace = true }
wasmtime-unwinder = { workspace = true, optional = true, features = ["cranelift"] }
anyhow = { workspace = true }
region = "3.0.2"
libc = { workspace = true }
target-lexicon = { workspace = true }
memmap2 = { version = "0.2.1", optional = true }
log = { workspace = true }
wasmtime-jit-icache-coherence = { workspace = true }
[target.'cfg(windows)'.dependencies.windows-sys]
workspace = true
features = [
"Win32_Foundation",
"Win32_System_LibraryLoader",
"Win32_System_Memory",
]
[features]
selinux-fix = ['memmap2']
default = []
wasmtime-unwinder = ["dep:wasmtime-unwinder"]
[dev-dependencies]
cranelift = { path = "../umbrella" }
cranelift-frontend = { workspace = true }
cranelift-entity = { workspace = true }