builtin.wasm_bare: fix malloc invocation (#13740)
parent
c5174c2c69
commit
78b1cbefff
|
@ -5,7 +5,7 @@ module builtin
|
|||
[unsafe]
|
||||
pub fn __malloc(size usize) voidptr {
|
||||
unsafe {
|
||||
return malloc(int(size))
|
||||
return C.malloc(int(size))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue