builtin.wasm_bare: fix malloc invocation (#13740)

pull/13748/head
playX 2022-03-15 13:55:39 +03:00 committed by GitHub
parent c5174c2c69
commit 78b1cbefff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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))
}
}