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.
35 lines
1.1 KiB
TOML
35 lines
1.1 KiB
TOML
[package]
|
|
name = "wasmtime-execute"
|
|
version = "0.0.0"
|
|
authors = ["The Cranelift Project Developers"]
|
|
publish = false
|
|
description = "JIT-style execution for WebAsssembly code in Cranelift"
|
|
categories = ["wasm"]
|
|
repository = "https://github.com/CraneStation/wasmtime"
|
|
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" }
|
|
cranelift-wasm = { git = "https://github.com/sunfishcode/cranelift.git", branch = "guard-offset" }
|
|
wasmtime-environ = { path = "../environ" }
|
|
region = "1.0.0"
|
|
lazy_static = "1.2.0"
|
|
libc = "0.2.44"
|
|
errno = "0.2.4"
|
|
|
|
[build-dependencies]
|
|
cmake = "0.1.35"
|
|
bindgen = "0.44.0"
|
|
regex = "1.0.6"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = ["cranelift-codegen/std", "cranelift-wasm/std"]
|
|
core = ["cranelift-codegen/core", "cranelift-wasm/core", "wasmtime-environ/core"]
|
|
|
|
[badges]
|
|
maintenance = { status = "experimental" }
|
|
travis-ci = { repository = "CraneStation/wasmtime" }
|