Stream: wamr

Topic: ✔ AOT Wasi exported malloc/free


view this post on Zulip Robin van Emden (Nov 11 2022 at 10:08):

We posted the following issue in the WAMR github repo: https://github.com/bytecodealliance/wasm-micro-runtime/issues/1690 . But I am uncertain whether a) we described the issue clearly b) we may be on the wrong track with our train of thought here. In the end, I presume the issue is about which malloc/free ought to be responsible when requesting a WASI AOT to allocate memory - and whether the "export" of malloc/free makes sense in that situation.

We autogenerate code and compile it into Wasi (SDK 13) AOT binaries that can run on different architectures using WAMR. We recently changed from non-exported to exported malloc and free on compilin...

view this post on Zulip Notification Bot (Nov 14 2022 at 08:56):

Robin van Emden has marked this topic as resolved.


Last updated: Oct 23 2024 at 20:03 UTC