The memmap crate doesn't make it straightforward to have part of the region be writeable and part readonly. Since this is a fairly boutique use case, and we don't need all that much code, just use the low-level APIs directly. Also, introduce a concept of "tunables" for adjusting the parameters of the runtime.
17 lines
610 B
TOML
17 lines
610 B
TOML
[package]
|
|
name = "wasmtime-obj"
|
|
version = "0.0.0"
|
|
authors = ["The Cranelift Project Developers"]
|
|
description = "Native object file output for WebAsssembly code in Wasmtime"
|
|
publish = false
|
|
repository = "https://github.com/CraneStation/wasmtime"
|
|
categories = ["wasm"]
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
readme = "README.md"
|
|
|
|
[dependencies]
|
|
cranelift-codegen = { git = "https://github.com/sunfishcode/cranelift.git", branch = "guard-offset" }
|
|
cranelift-entity = { git = "https://github.com/sunfishcode/cranelift.git", branch = "guard-offset" }
|
|
wasmtime-environ = { path = "../environ" }
|
|
faerie = "0.6.0"
|