A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
[package]
name = "cranelift-object"
version = "0.139.0-dev"
authors = ["The Cranelift Project Developers"]
description = "Emit Cranelift output to native object files with `object`"
repository = "https://github.com/bytecodealliance/wasmtime"
documentation = "https://docs.rs/cranelift-object"
license = "Apache-2.0 WITH LLVM-exception"
edition.workspace = true
rust-version.workspace = true
[lints]
workspace = true
[dependencies]
cranelift-module = { workspace = true }
cranelift-codegen = { workspace = true, features = ["std"] }
cranelift-control = { workspace = true }
object = { workspace = true, features = ["write", "std"] }
target-lexicon = { workspace = true }
anyhow = { workspace = true }
log = { workspace = true }
gimli = { workspace = true, features = ["write"], optional = true }
[features]
default = ["unwind"]
# Enables `.eh_frame` section emission via `ObjectBuilder::unwind_info`.
unwind = ["dep:gimli", "cranelift-codegen/unwind"]
[dev-dependencies]
cranelift-frontend = { workspace = true }
cranelift-entity = { workspace = true }
cranelift-codegen = { workspace = true, features = ["x86", "arm64"] }