Home
last modified time | relevance | path

Searched refs:Cache (Results 1 – 13 of 13) sorted by relevance

/wasmtime-44.0.1/examples/
H A Dfast_compilation.rs6 use wasmtime::{Cache, Config, Engine, Result, Strategy};
13 config.cache(Some(Cache::from_file(None)?)); in main()
/wasmtime-44.0.1/crates/cache/src/
H A Dlib.rs31 pub struct Cache { struct
46 impl Cache { argument
142 cache: &'cache Cache,
149 pub fn new(compiler_name: &str, cache: Option<&'cache Cache>) -> Self { in new()
223 fn new(compiler_name: &str, cache: &'cache Cache) -> Self { in new()
H A Dtests.rs36 Cache::new(cache_config) in test_cache_init()
52 let cache = Cache::new(cache_config.clone()).unwrap(); in test_write_read_cache()
/wasmtime-44.0.1/crates/wasmtime/src/engine/
H A Dserialization.rs472 use crate::{Cache, Config, Module, OptLevel};
702 .cache(Some(Cache::from_file(Some(&config_path))?)); in cache_accounts_for_opt_level()
718 .cache(Some(Cache::from_file(Some(&config_path))?)); in cache_accounts_for_opt_level()
734 .cache(Some(Cache::from_file(Some(&config_path))?)); in cache_accounts_for_opt_level()
750 .cache(Some(Cache::from_file(Some(&config_path))?)); in cache_accounts_for_opt_level()
829 cfg.cache(Some(Cache::from_file(Some(&config_path))?)); in components_are_cached()
/wasmtime-44.0.1/crates/wizer/tests/all/
H A Dmake_linker.rs10 wasmtime::Cache::from_file(None) in run_wasm()
/wasmtime-44.0.1/docs/
H A Dcli-cache.md1 # Cache Configuration of `wasmtime`
133 ### Cache files
219 Cache system
231 Cache worker
H A Dexamples-fast-compilation.md10 ## Enable the Compilation Cache
H A DSUMMARY.md8 - [Cache Configuration](./cli-cache.md)
/wasmtime-44.0.1/crates/c-api/src/
H A Dconfig.rs231 use wasmtime::Cache; in wasmtime_config_cache_config_load()
235 Cache::from_file(None).map(|cache| c.config.cache(Some(cache))) in wasmtime_config_cache_config_load()
239 Cache::from_file(Some(&Path::new(s))).map(|cache| c.config.cache(Some(cache))) in wasmtime_config_cache_config_load()
/wasmtime-44.0.1/crates/cli-flags/src/
H A Dlib.rs842 use wasmtime::Cache; in config()
844 Some(path) => Cache::from_file(Some(Path::new(path)))?, in config()
845 None => Cache::from_file(None)?, in config()
/wasmtime-44.0.1/crates/wasmtime/src/
H A Dconfig.rs31 pub use wasmtime_cache::{Cache, CacheConfig};
159 pub(crate) cache: Option<Cache>,
1541 pub fn cache(&mut self, cache: Option<Cache>) -> &mut Self { in cache()
H A Dengine.rs800 pub(crate) fn cache(&self) -> Option<&wasmtime_cache::Cache> { in cache() argument
/wasmtime-44.0.1/docs/js/
H A Dmermaid.min.11.6.0.js1949 …;ny.prototype.set=hje;Rme=ny,fje="Expected a function";o(cB,"memoize");cB.Cache=Rme;dje=cB,pje=500…