Searched refs:Cache (Results 1 – 13 of 13) sorted by relevance
| /wasmtime-44.0.1/examples/ |
| H A D | fast_compilation.rs | 6 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 D | lib.rs | 31 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 D | tests.rs | 36 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 D | serialization.rs | 472 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 D | make_linker.rs | 10 wasmtime::Cache::from_file(None) in run_wasm()
|
| /wasmtime-44.0.1/docs/ |
| H A D | cli-cache.md | 1 # Cache Configuration of `wasmtime` 133 ### Cache files 219 Cache system 231 Cache worker
|
| H A D | examples-fast-compilation.md | 10 ## Enable the Compilation Cache
|
| H A D | SUMMARY.md | 8 - [Cache Configuration](./cli-cache.md)
|
| /wasmtime-44.0.1/crates/c-api/src/ |
| H A D | config.rs | 231 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 D | lib.rs | 842 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 D | config.rs | 31 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 D | engine.rs | 800 pub(crate) fn cache(&self) -> Option<&wasmtime_cache::Cache> { in cache() argument
|
| /wasmtime-44.0.1/docs/js/ |
| H A D | mermaid.min.11.6.0.js | 1949 …;ny.prototype.set=hje;Rme=ny,fje="Expected a function";o(cB,"memoize");cB.Cache=Rme;dje=cB,pje=500…
|