MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / cache

Method cache

crates/wasmtime/src/config.rs:1590–1593  ·  view source on GitHub ↗
(&mut self, cache: Option<Cache>)

Source from the content-addressed store, hash-verified

1588 /// [docs]: https://bytecodealliance.github.io/wasmtime/cli-cache.html
1589 #[cfg(feature = "cache")]
1590 pub fn cache(&mut self, cache: Option<Cache>) -> &mut Self {
1591 self.cache = cache;
1592 self
1593 }
1594
1595 /// Sets a custom memory creator.
1596 ///

Callers 9

executeMethod · 0.45
mainFunction · 0.45
newMethod · 0.45
components_are_cachedFunction · 0.45
compile_cachedMethod · 0.45
configMethod · 0.45
run_wasmFunction · 0.45

Calls

no outgoing calls

Tested by 1

run_wasmFunction · 0.36