diff --git a/crates/wasmtime/src/runtime/vm/fibre/mod.rs b/crates/wasmtime/src/runtime/vm/fibre/mod.rs index 1444aeb8ba46..40df54ee4b40 100644 --- a/crates/wasmtime/src/runtime/vm/fibre/mod.rs +++ b/crates/wasmtime/src/runtime/vm/fibre/mod.rs @@ -27,7 +27,7 @@ cfg_if::cfg_if! { impl FiberStack { /// Creates a new fiber stack of the given size. - pub fn new(size: usize) -> io::Result { + pub fn new(size: usize, _zeroed: bool /* TODO(dhil): unimplemented */) -> io::Result { Ok(Self(imp::FiberStack::new(size)?)) } diff --git a/crates/wasmtime/src/runtime/vm/instance/allocator/wasmfx_allocator.rs b/crates/wasmtime/src/runtime/vm/instance/allocator/wasmfx_allocator.rs index a3e681f08232..70f9969c2618 100644 --- a/crates/wasmtime/src/runtime/vm/instance/allocator/wasmfx_allocator.rs +++ b/crates/wasmtime/src/runtime/vm/instance/allocator/wasmfx_allocator.rs @@ -33,7 +33,7 @@ pub mod wasmfx_on_demand { if #[cfg(all(feature = "unsafe_wasmfx_stacks", any(not(feature = "wasmfx_baseline"), feature = "wasmfx_no_baseline")))] { super::FiberStack::malloc(self.stack_size) } else { - super::FiberStack::new(self.stack_size) + super::FiberStack::new(self.stack_size, false /* whether zeroed */) } } };