Thanks for filing a feature request! Please fill out the TODOs below.
Feature
Option to turn off and clear automatic module caching to ~/.cache/wasmtime/modules/wasmtime-.
Benefit
When testing the contents of ~/.cache/wasmtime/modules/wasmtime- can continue to grow exponentially.
Implementation
Add an option to
- Run the
.wasm file directly without caching
- Option to automatically remove the cached folders and files after the
.wasm file is run
- Option to remove the contents of
wasmtime cached modules, e.g., with Bun we can do bun pm cache rm
Alternatives
Unknown.