-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Plans for WASI Support? #3300
Comments
I don't have any plans at the moment (it was just released!). It's good to hear that it works. I think it makes sense to use a separate package for this so that people don't have to download both. However, adding this isn't super straightforward because Go 1.21.0 also dropped support for quite a few platforms, which I'm not keen on dropping for esbuild. So I'll probably stick to Go 1.20.x for at least a while. |
Go now has official WASI support and I wanted to ask if there are plans to look into WASI for esbuild now? |
Thanks a ton @evanw for implementing this! |
Since go version 1.21.0, there is support to target WASI using
GOOS=wasip1
. I tried inscripts/esbuild.js
to change GOOS in the buildWasmTarget function fromjs
towasip1
, followed by amake platform-wasm
. It worked and esbuild ran in wasmtime just fine.Are there any plans to, for example, extend the
esbuild-wasm
package to include a esbuild WASI binary in addition to the JS one?The text was updated successfully, but these errors were encountered: