mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 22:25:40 +00:00
Fixed runtime example
This commit is contained in:
parent
13e1cb1169
commit
b3dd47bce8
@ -30,7 +30,8 @@ pub use wasmer_runtime_core::cache::{Artifact, Cache, WasmHash};
|
|||||||
/// // Compute a key for a given WebAssembly binary
|
/// // Compute a key for a given WebAssembly binary
|
||||||
/// let key = WasmHash::generate(&[]);
|
/// let key = WasmHash::generate(&[]);
|
||||||
/// // Store a module into the cache given a key
|
/// // Store a module into the cache given a key
|
||||||
/// fs_cache.store(key, module)?;
|
/// fs_cache.store(key, module.clone())?;
|
||||||
|
/// module
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
pub struct FileSystemCache {
|
pub struct FileSystemCache {
|
||||||
|
Loading…
Reference in New Issue
Block a user