Open
Description
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.- The PR at wasm: use wasip1 API for parameter/env passing #4565 is very useful; we need this functionality for CLI arguments. /cc @aykevl
WASI
With wasip1
, tsgo cannot be compiled at this time:
❯ GOOS=wasip1 GOARCH=wasm tinygo build ./cmd/tsgo
wasm-ld: error: lto.tmp: undefined symbol: os/signal.signalWaitUntilIdle