Skip to content

Use WAMR correctly #3

@r1ru

Description

@r1ru

wasmos exports some functions for message passing to WASM.

https://github.com/r1ru/wasmos/blob/main/kernel/wasmvm.c#L102-L108

According to the documentation, data should be serialised and deserialised when passing structured data, and the type "$" should not be used as a pointer to a message. Furthermore, the platform API layer is implemented in platform.c to port WAMR to wasmos, but it is mostly a missing implementation. Thus, for example, it is currently not possible to display WAMR error messages because snprintf is not implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions