Hello! I have a question on with_host_memory
and with_stack_memory
APIs. Does Wasmtime assume the memory returned from those APIs are 0 filled? I know mmap
anonymous zero fills the memory, but I'm not sure if the runtime relies on that or not.
Yes, any request for memory creation and memory growth assumes that the contents are zero-filled
Thanks, that explains the behavior I'm seeing :)
Tyler Rockwood has marked this topic as resolved.
Last updated: Dec 23 2024 at 14:03 UTC