Skip to content

A lightweight WebAssembly runtime that is fast, secure, and standards-compliant

1.3 KB
Raw Blame
[package]
name = "cranelift-jit"
version = "0.139.0-dev"
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"
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 = "0.9.11"
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]
default = []

wasmtime-unwinder = ["dep:wasmtime-unwinder"]

[dev-dependencies]
cranelift = { path = "../umbrella" }
cranelift-frontend = { workspace = true }
cranelift-entity = { workspace = true }