diff --git a/vlib/builtin/wasm_bare/libc_impl.v b/vlib/builtin/wasm_bare/libc_impl.v index bd94945fbd..26f17bd156 100644 --- a/vlib/builtin/wasm_bare/libc_impl.v +++ b/vlib/builtin/wasm_bare/libc_impl.v @@ -5,7 +5,7 @@ module builtin [unsafe] pub fn __malloc(size usize) voidptr { unsafe { - return malloc(int(size)) + return C.malloc(int(size)) } }