diff options
author | Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com> | 2023-03-25 09:03:15 -0700 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2023-04-07 23:34:17 +0000 |
commit | dd21a77bfae041eefe7b02ab5a40a7c4d3403f8d (patch) | |
tree | 1a2f443e2daf2373b02ec7729f46d1baca315e6a /src/cmd/dist/test.go | |
parent | 693a34e78856980b0bb4a10ffcfd2bac1dbd6ebe (diff) | |
download | go-dd21a77bfae041eefe7b02ab5a40a7c4d3403f8d.tar.gz go-dd21a77bfae041eefe7b02ab5a40a7c4d3403f8d.zip |
internal: add wasip1 support
For #58141
Co-authored-by: Richard Musiol <neelance@gmail.com>
Co-authored-by: Achille Roussel <achille.roussel@gmail.com>
Co-authored-by: Julien Fabre <ju.pryz@gmail.com>
Co-authored-by: Evan Phoenix <evan@phx.io>
Change-Id: I1488726e5b43cd21c5f83900476afd2fb63d70c9
Reviewed-on: https://go-review.googlesource.com/c/go/+/479622
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/cmd/dist/test.go')
-rw-r--r-- | src/cmd/dist/test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go index 01452ba7e5..f3c262ac98 100644 --- a/src/cmd/dist/test.go +++ b/src/cmd/dist/test.go @@ -1476,6 +1476,9 @@ func (t *tester) hasSwig() bool { return true } +// hasParallelism is a copy of the function +// internal/testenv.HasParallelism, which can't be used here +// because cmd/dist can not import internal packages during bootstrap. func (t *tester) hasParallelism() bool { switch goos { case "js", "wasip1": |