Skip to content

Commit 51e5294

Browse files
authored
docs: Fix reference to async_stack_zeroing (#11913)
1 parent dc65d52 commit 51e5294

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

crates/wasmtime/src/config.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3339,11 +3339,11 @@ impl PoolingAllocationConfig {
33393339
/// How much memory, in bytes, to keep resident for async stacks allocated
33403340
/// with the pooling allocator.
33413341
///
3342-
/// When [`PoolingAllocationConfig::async_stack_zeroing`] is enabled then
3343-
/// Wasmtime will reset the contents of async stacks back to zero upon
3344-
/// deallocation. This option can be used to perform the zeroing operation
3345-
/// with `memset` up to a certain threshold of bytes instead of using system
3346-
/// calls to reset the stack to zero.
3342+
/// When [`Config::async_stack_zeroing`] is enabled then Wasmtime will reset
3343+
/// the contents of async stacks back to zero upon deallocation. This option
3344+
/// can be used to perform the zeroing operation with `memset` up to a
3345+
/// certain threshold of bytes instead of using system calls to reset the
3346+
/// stack to zero.
33473347
///
33483348
/// Note that when using this option the memory with async stacks will
33493349
/// never be decommitted.

0 commit comments

Comments
 (0)