-
Notifications
You must be signed in to change notification settings - Fork 952
TypeScript Go WASM #4894
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
Comments
I don't think wasip1 has a concept of current working directory, but we can of course return a fake directory like
It doesn't change anything for wasip1. For wasip1, command line arguments are already supported. |
In the WASM (non-WASI) build of Golang, |
I checked, and it returns |
#4901 refactors signal handling, and adds ...however, it doesn't really work yet. It does show help output, but it crashes when actually compiling anything. There seems to be a memory corruption somewhere ( |
I tested the latest development commit (2da9d26) of TinyGo to compile TypeScript Go.
The previous issue (#4804) has been resolved; however, some issues remain:
os.Getwd()
always returns an empty string, which causes a panic in tsgo.WASI
With
wasip1
, tsgo cannot be compiled at this time:The text was updated successfully, but these errors were encountered: