diff --git a/src/allocator.rs b/src/allocator.rs index 5e66543b..452b9211 100644 --- a/src/allocator.rs +++ b/src/allocator.rs @@ -16,7 +16,7 @@ static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT; #[no_mangle] -pub extern "C" fn malloc(size: usize) -> *mut u8 { +pub extern "C" fn proxy_on_memory_allocate(size: usize) -> *mut u8 { let mut vec: Vec = Vec::with_capacity(size); unsafe { vec.set_len(size);