mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
The syscall/js API is not included in the GOROOT/api/go1.*.txt files at this time, and so it needs to be added to mkstdlib.go explicitly. Run the cmd/api command directly in the generator to determine the syscall/js API. Regenerate zstdlib.go with the updated generator, using Go 1.12.1. Fixes golang/go#27590 Change-Id: I541588986d70f67f4917d9b34bdd57ca44f538f7 Reviewed-on: https://go-review.googlesource.com/c/tools/+/170014 Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>