[][src]Function wasmtime_environ::cache_init

pub fn cache_init<P: AsRef<Path> + Debug>(
    enabled: bool,
    config_file: Option<P>,
    init_file_per_thread_logger: Option<&'static str>
) -> &'static Vec<String>

Initializes the cache system. Should be called exactly once, and before using the cache system. Otherwise it can panic. Returns list of errors. If empty, initialization succeeded.