This commit extracts the two implementations of `Compiler` into two separate crates, `wasmtime-cranelfit` and `wasmtime-lightbeam`. The `wasmtime-jit` crate then depends on these two and instantiates them appropriately. The goal here is to start reducing the weight of the `wasmtime-environ` crate, which currently serves as a common set of types between all `wasmtime-*` crates. Long-term I'd like to remove the dependency on Cranelift from `wasmtime-environ`, but that's going to take a lot more work. In the meantime I figure it's a good way to get started by separating out the lightbeam/cranelift function compilers from the `wasmtime-environ` crate. We can continue to iterate on moving things out in the future, too.
20 lines
795 B
TOML
20 lines
795 B
TOML
[package]
|
|
name = "wasmtime-cranelift"
|
|
version = "0.19.0"
|
|
authors = ["The Wasmtime Project Developers"]
|
|
description = "Integration between Cranelift and Wasmtime"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
repository = "https://github.com/bytecodealliance/wasmtime"
|
|
documentation = "https://docs.rs/wasmtime-cranelift/"
|
|
categories = ["wasm"]
|
|
keywords = ["webassembly", "wasm"]
|
|
readme = "README.md"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
wasmtime-environ = { path = "../environ", version = "0.19.0" }
|
|
cranelift-wasm = { path = "../../cranelift/wasm", version = "0.66.0" }
|
|
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.66.0" }
|
|
cranelift-frontend = { path = "../../cranelift/frontend", version = "0.66.0" }
|
|
cranelift-entity = { path = "../../cranelift/entity", version = "0.66.0" }
|