[][src]Function wasmtime_environ::cache_conf::init

pub fn init<P: AsRef<Path>>(enabled: bool, dir: Option<P>)

Initializes the cache system. Should be called exactly once, and before using the cache system. Otherwise it can panic.