Skip to content

Commit

Permalink
pub for module cache
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavidmeister committed Nov 12, 2023
1 parent ff28841 commit bc52cde
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/host/src/module.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ pub trait PlruCache {
/// be deserialized before it can be used to build instances. The deserialization
/// process is far faster than compiling and much slower than instance building.
pub struct SerializedModuleCache {
plru: MicroCache,
key_map: PlruKeyMap,
cache: BTreeMap<CacheKey, Arc<SerializedModule>>,
cranelift: fn() -> Cranelift,
maybe_fs_dir: Option<PathBuf>,
pub plru: MicroCache,
pub key_map: PlruKeyMap,
pub cache: BTreeMap<CacheKey, Arc<SerializedModule>>,
pub cranelift: fn() -> Cranelift,
pub maybe_fs_dir: Option<PathBuf>,
}

impl PlruCache for SerializedModuleCache {
Expand Down

0 comments on commit bc52cde

Please sign in to comment.