mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builtin.wasm_bare: fix malloc invocation (#13740)
This commit is contained in:
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
Block a user