Mrmaxmeier opened PR #3670 from expose-default-memory-creator to main:
This exposes the standard implementation of
RuntimeMemoryCreatorin wasmtime_runtime's API and thus allows indirectly using the handy but privateMmapMemoryimplementation.
ExposingDefaultMemoryCreatorinwasmtime-runtimeseems 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 toDefaultMemoryCreatorinternally.
This requires passing in aModulethough, which might not be relevant when looking to create memories.
alexcrichton submitted PR review.
alexcrichton merged PR #3670.
Last updated: Dec 06 2025 at 06:05 UTC