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

When will you guys be compiling the tinygo compiler targetting WASM? #421

Open
jymchng opened this issue Aug 18, 2024 · 1 comment
Open

Comments

@jymchng
Copy link

jymchng commented Aug 18, 2024

Hi, thank you for the great awesome work!

I think it will be a great feature if the tinygo compiler itself is compiled and targetting WASM so that people can start writing and running arbitrary Go codes on the browser.

🤭👍

@aykevl
Copy link
Member

aykevl commented Aug 18, 2024

Right now TinyGo is compiled using the Go toolchain, which supports WebAssembly but doesn't support CGo at the same time. So this is not currently possible.
See: golang/go#55351

It would be really nice to have this though! It could also make things like the VSCode TinyGo extension better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants