[riot-notifications] [RIOT-OS/RIOT] WIP: pkg/wamr: add WAMR to provide WASM support in RIOT (#15329)

Marian Buschsieweke notifications at github.com
Wed Sep 22 12:04:23 CEST 2021


Btw: Super nice would be a convenience function such as `int wamr_run(void *bytecode, size_t bytecode_len, int argc, const char **argv)`.

It would be super nice if the return value would be the return code of the `main` in the WASM bytecode. If the WASM binary uses the same error codes as the ones used to indicate failures in running the VM, it will be impossible to distinguish between the two. But I assume that in most use cases it doesn't matter what failed and this feels a lot more convenient. (And a more verbose convenience function could be provided if there is a use case.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15329#issuecomment-924777462
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210922/7d091cd9/attachment.htm>


More information about the notifications mailing list