Stream: git-wasmtime

Topic: wasmtime / PR #3670 Expose DefaultMemoryCreator in wasmti...


view this post on Zulip Wasmtime GitHub notifications bot (Jan 08 2022 at 14:01):

Mrmaxmeier opened PR #3670 from expose-default-memory-creator to main:

This exposes the standard implementation of RuntimeMemoryCreator in wasmtime_runtime's API and thus allows indirectly using the handy but private MmapMemory implementation.
Exposing DefaultMemoryCreator in wasmtime-runtime seems mostly harmless. Feel free to reject this though and/or yell at me for not opening an issue first.


Memories can also be created with OnDemandInstanceAllocator (pub) which can fall back to DefaultMemoryCreator internally.
This requires passing in a Module though, which might not be relevant when looking to create memories.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 18 2022 at 15:17):

alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 18 2022 at 15:17):

alexcrichton merged PR #3670.


Last updated: Oct 23 2024 at 20:03 UTC