Skip to content
New issue

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

Use WAMR correctly #3

Open
r1ru opened this issue Jan 5, 2024 · 0 comments
Open

Use WAMR correctly #3

r1ru opened this issue Jan 5, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@r1ru
Copy link
Owner

r1ru commented Jan 5, 2024

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.

@r1ru r1ru added the good first issue Good for newcomers label Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant