bytecodealliance / bytecodealliance/wasmtime

Document how to enable compilation caching in the embedding API

Open
#2,660 1 comment 0 reactions 0 assignees View on GitHub
wasmtime:docs
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 19h
Merged PRs (30d)
121

Description

Wasmtime has a compilation cache to avoid recompiling the same module multiple times. In the embedding API, it's not enabled by default; users must call [`cache_config_load_default`](https://docs.rs/wasmtime/0.21.0/wasmtime/struct.Config.html#method.cache_config_load_default). I wasn't able to find this mentioned in the guide or in any of the in-tree examples.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.