]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/types2: fix tests on js/wasm
authorBryan C. Mills <bcmills@google.com>
Mon, 31 Oct 2022 15:14:35 +0000 (11:14 -0400)
committerGopher Robot <gobot@golang.org>
Mon, 31 Oct 2022 15:44:19 +0000 (15:44 +0000)
commit0a6c4c87404ecb018faf002919e5d5db04c69ee2
tree37a32eb839f3d51f677ba0be424b623897292f4b
parent6774ddfec758ecf2cc64d58392c438dd64660a00
cmd/compile/internal/types2: fix tests on js/wasm

The js/wasm builder started failing as of CL 432535 due to needing
'go build' to import standard-library packages that are no longer
installed to GOROOT/pkg. Since js/wasm can't exec subprocesses,
it cannot run 'go build' to generate the export data needed for
these tests.

For #47257.

Change-Id: I804235fd725faf00b27cbed79ee1f43dea8ab734
Reviewed-on: https://go-review.googlesource.com/c/go/+/446635
Run-TryBot: Bryan Mills <bcmills@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
src/cmd/compile/internal/types2/example_test.go
src/cmd/compile/internal/types2/issues_test.go
src/cmd/compile/internal/types2/self_test.go
src/cmd/compile/internal/types2/sizes_test.go
src/cmd/compile/internal/types2/typestring_test.go