This commit moves the `address_map` field of `FunctionInfo` into a custom-encoded section of the executable. The goal of this commit is, as previous commits, to push less data through `bincode`. The `address_map` field is actually extremely large and has huge benefits of not being decoded when we load a module. This data is only used for traps and such as well, so it's not overly important that it's massaged in to precise data the runtime can extremely speedily use. The `FunctionInfo` type does retain a tiny bit of information about the function itself (it's start source location), but other than that the `FunctionAddressMap` structure is moved from `wasmtime-environ` to `wasmtime-cranelift` since it's now no longer needed outside of that context.
30 lines
1.1 KiB
TOML
30 lines
1.1 KiB
TOML
[package]
|
|
name = "wasmtime-environ"
|
|
version = "0.29.0"
|
|
authors = ["The Wasmtime Project Developers"]
|
|
description = "Standalone environment support for WebAsssembly code in Cranelift"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
repository = "https://github.com/bytecodealliance/wasmtime"
|
|
documentation = "https://docs.rs/wasmtime-environ/"
|
|
categories = ["wasm"]
|
|
keywords = ["webassembly", "wasm"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
cranelift-entity = { path = "../../cranelift/entity", version = "0.76.0" }
|
|
wasmtime-types = { path = "../types", version = "0.29.0" }
|
|
wasmparser = "0.80"
|
|
indexmap = { version = "1.0.2", features = ["serde-1"] }
|
|
thiserror = "1.0.4"
|
|
serde = { version = "1.0.94", features = ["derive"] }
|
|
log = { version = "0.4.8", default-features = false }
|
|
more-asserts = "0.2.1"
|
|
cfg-if = "1.0"
|
|
gimli = { version = "0.25.0", default-features = false, features = ['read'] }
|
|
object = { version = "0.26.0", default-features = false, features = ['read_core', 'write_core', 'elf'] }
|
|
target-lexicon = "0.12"
|
|
|
|
[badges]
|
|
maintenance = { status = "actively-developed" }
|