Stream: git-wasmtime

Topic: wasmtime / issue #11912 PoolingAllocationConfig::async_ke...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 22 2025 at 15:52):

lann opened issue #11912:

https://docs.rs/wasmtime/38.0.2/wasmtime/struct.PoolingAllocationConfig.html#method.async_stack_keep_resident

When PoolingAllocationConfig::async_stack_zeroing is enabled then Wasmtime will reset the contents of async stacks back to zero upon deallocation. This option can be used to perform the zeroing operation with memset up to a certain threshold of bytes instead of using system calls to reset the stack to zero.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 22 2025 at 15:53):

lann commented on issue #11912:

Oh it looks like the method moved (?) to Config. I can PR this fix.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 22 2025 at 17:04):

alexcrichton closed issue #11912:

https://docs.rs/wasmtime/38.0.2/wasmtime/struct.PoolingAllocationConfig.html#method.async_stack_keep_resident

When PoolingAllocationConfig::async_stack_zeroing is enabled then Wasmtime will reset the contents of async stacks back to zero upon deallocation. This option can be used to perform the zeroing operation with memset up to a certain threshold of bytes instead of using system calls to reset the stack to zero.


Last updated: Dec 06 2025 at 07:03 UTC