-
Notifications
You must be signed in to change notification settings - Fork 268
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
internal: some WIP on being able to compile wazero for MCUs using TinyGo #1855
Conversation
Signed-off-by: deadprogram <[email protected]>
Now that I look bit deeper, the bigger problem is likely to be not being able to generate the needed code for the target itself that it would be running on: https://github.com/tetratelabs/wazero/tree/main/internal/asm This is not a small task. |
Is an interpreter not useful at all? |
I would be happy to get interpreter working, but not sure that will work either due to instruction set of target being |
the interpreter should work regardless. You can compile wazero today to wasm with |
OK, good to know. I will continue playing with it this weekend. |
Signed-off-by: deadprogram <[email protected]>
Signed-off-by: deadprogram <[email protected]>
With my latest commits using a couple unmerged branches of tinygo, I am now getting this:
|
A couple fixes from @aykevl and I was able to at least compile:
Now to start getting things to work! |
Nice! |
Signed-off-by: deadprogram <[email protected]>
Signed-off-by: deadprogram <[email protected]>
nice to see further progress here! |
should we close this one? |
Closing in favor of the @orsinium collection of PRs. |
This PR is a place for some WIP on getting wazero to compile with TinyGo so it can be run on microcontrollers.
See #1854 for details.
This is as far as I have been able to get this far with the code in this PR: