Making caching support optional in Wasmtime (#2119)
This commit moves all of the caching support that currently lives in `wasmtime-environ` into a `wasmtime-cache` crate and makes it optional. The goal here is to slim down the `wasmtime-environ` crate and clearly separate boundaries where caching is a standalone and optional feature, not intertwined with other crates.
This commit is contained in:
@@ -31,7 +31,8 @@ wasi-common = { path = "../wasi-common", optional = true }
|
||||
wasmtime-wasi = { path = "../wasi", optional = true }
|
||||
|
||||
[features]
|
||||
default = ['jitdump', 'wat', 'wasi']
|
||||
default = ['jitdump', 'wat', 'wasi', 'cache']
|
||||
lightbeam = ["wasmtime/lightbeam"]
|
||||
jitdump = ["wasmtime/jitdump"]
|
||||
cache = ["wasmtime/cache"]
|
||||
wasi = ['wasi-common', 'wasmtime-wasi']
|
||||
|
||||
Reference in New Issue
Block a user