builtin/wasm_bare: Fix malloc invocation

pull/13740/head
playXE 2022-03-15 09:21:24 +03:00
parent 34dd4f34ab
commit 45ab49b94a
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ module builtin
[unsafe]
pub fn __malloc(size usize) voidptr {
unsafe {
return malloc(int(size))
return C.malloc(int(size))
}
}