Fix the type of the heap bound variable.
This commit is contained in:
@@ -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,
|
||||
});
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user