Stream: git-wasmtime

Topic: wasmtime / Issue #2660 Document how to enable compilation...


view this post on Zulip Wasmtime GitHub notifications bot (Feb 17 2021 at 21:22):

sunfishcode opened Issue #2660:

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. I wasn't able to find this mentioned in the guide or in any of the in-tree examples.

view this post on Zulip Wasmtime GitHub notifications bot (Feb 17 2021 at 21:29):

wycats commented on Issue #2660:

@sunfishcode It would have been great to see this highlighted prominently in the docs. I hit an issue where a module was taking a long time to compile, and wouldn't have minded quite as much if I'd known about the cache :)

view this post on Zulip Wasmtime GitHub notifications bot (Feb 17 2021 at 21:39):

sunfishcode labeled Issue #2660:

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. I wasn't able to find this mentioned in the guide or in any of the in-tree examples.


Last updated: Dec 23 2024 at 12:05 UTC