This commit implements copying paged initialization data upon a fault of a linear memory page. If the initialization data is "paged", then the appropriate pages are copied into the Wasm page (or zeroed if the page is not present in the initialization data). If the initialization data is not "paged", the Wasm page is zeroed so that module instantiation can initialize the pages.
31 lines
1.1 KiB
TOML
31 lines
1.1 KiB
TOML
[package]
|
|
name = "wasmtime-environ"
|
|
version = "0.24.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"]
|
|
readme = "README.md"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
region = "2.2.0"
|
|
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.71.0", features = ["enable-serde"] }
|
|
cranelift-entity = { path = "../../cranelift/entity", version = "0.71.0", features = ["enable-serde"] }
|
|
cranelift-wasm = { path = "../../cranelift/wasm", version = "0.71.0", features = ["enable-serde"] }
|
|
wasmparser = "0.76"
|
|
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 = "0.23"
|
|
|
|
[badges]
|
|
maintenance = { status = "actively-developed" }
|