diff --git a/lib/wasm/src/environ/spec.rs b/lib/wasm/src/environ/spec.rs index 92c7fa9e2b..93a82cca88 100644 --- a/lib/wasm/src/environ/spec.rs +++ b/lib/wasm/src/environ/spec.rs @@ -340,6 +340,9 @@ pub trait ModuleEnvironment<'data> { ); /// Provides the contents of a function body. + /// + /// Note there's no `reserve_function_bodies` function because the number of + /// functions is already provided by `reserve_func_types`. fn define_function_body(&mut self, body_bytes: &'data [u8]) -> WasmResult<()>; /// Provides the number of data initializers up front. By default this does nothing, but