diff --git a/lib/environ/src/environ.rs b/lib/environ/src/environ.rs index 874d1f0d21..9b4bcce805 100644 --- a/lib/environ/src/environ.rs +++ b/lib/environ/src/environ.rs @@ -345,7 +345,7 @@ impl<'module_environment> cranelift_wasm::FuncEnvironment for FuncEnvironment<'m offset: Offset32::new( offset32 + offset_of!(vmcontext::VMMemory, current_length) as i32, ), - global_type: self.pointer_type(), + global_type: I32, readonly: false, }); (