mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-25 02:12:13 +00:00
1289: Enable `DynamicFunc` for closures with captured environment. r=syrusakbary a=losfair Previously we disabled `DynamicFunc` for any non-zero-sized closures to leave space for future changes. However this feature is critical for applications that needs to bring context with host functions, like integrations with dynamic lauguages. So it might be good to enable it. A question left is: should we put this behind a feature flag or enable it by default? @Hywan @syrusakbary Co-authored-by: losfair <zhy20000919@hotmail.com>
64 lines
1.6 KiB
TOML
64 lines
1.6 KiB
TOML
[package]
|
|
name = "wasmer-runtime-core"
|
|
version = "0.16.2"
|
|
description = "Wasmer runtime core library"
|
|
license = "MIT"
|
|
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
|
|
repository = "https://github.com/wasmerio/wasmer"
|
|
keywords = ["wasm", "webassembly", "runtime"]
|
|
categories = ["wasm"]
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
nix = "0.15"
|
|
page_size = "0.4"
|
|
wasmparser = "0.51.3"
|
|
parking_lot = "0.10.0"
|
|
lazy_static = "1.4"
|
|
errno = "0.2"
|
|
libc = "0.2.60"
|
|
hex = "0.4"
|
|
smallvec = "0.6"
|
|
bincode = "1.1"
|
|
wasm-debug = { optional = true, version = "0.1.0" }
|
|
target-lexicon = "0.9"
|
|
|
|
[dependencies.indexmap]
|
|
version = "1.2"
|
|
features = ["serde-1"]
|
|
|
|
# Dependencies for caching.
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
# This feature is required for serde to support serializing/deserializing reference counted pointers (e.g. Rc and Arc).
|
|
features = ["rc"]
|
|
[dependencies.serde_derive]
|
|
version = "1.0"
|
|
[dependencies.serde_bytes]
|
|
version = "0.11"
|
|
[dependencies.serde-bench]
|
|
version = "0.0.7"
|
|
[dependencies.blake3]
|
|
version = "0.1.0"
|
|
[dependencies.digest]
|
|
version = "0.8"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
winapi = { version = "0.3", features = ["memoryapi"] }
|
|
|
|
[build-dependencies]
|
|
blake3 = "0.1.0"
|
|
rustc_version = "0.2"
|
|
cc = "1.0"
|
|
|
|
[features]
|
|
managed = []
|
|
deterministic-execution = ["wasmparser/deterministic"]
|
|
# generate debug information from Wasm DWARF for use with the GDB JIT interface
|
|
generate-debug-information = ["wasm-debug"]
|
|
# don't export symbols related to the GDB JIT interafce, LLVM or some other native
|
|
# code will be providing them
|
|
generate-debug-information-no-export-symbols = []
|
|
# enable DynamicFunc's for closures with captured environment.
|
|
dynamicfunc-fat-closures = []
|