We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Whenever calling the heap.alloc function, the whole function process stops -> possibly aborts.
export function allocate(size: i32): usize { logi(size); logi(memory.size()); let ptr: usize = heap.alloc(size); logi(i32(ptr)); return ptr; }
It logs (back to my C++ host) the first 2 lines and then it stops. It does not call abort, so I have no idea what's up.
Am I doing something wrong? Thanks
Try to allocate heap like so
0.27.27
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug description
Whenever calling the heap.alloc function, the whole function process stops -> possibly aborts.
It logs (back to my C++ host) the first 2 lines and then it stops. It does not call abort, so I have no idea what's up.
Am I doing something wrong? Thanks
Steps to reproduce
Try to allocate heap like so
AssemblyScript version
0.27.27
The text was updated successfully, but these errors were encountered: