diff options
| author | Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com> | 2023-03-25 16:38:37 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-04-11 20:54:10 +0000 |
| commit | eb2bc919760d7a3e5ffd6022756cd7bda2f2dc63 (patch) | |
| tree | e5019eda1426e984feb62e35cf9e4727c1f592e7 /src/net/http | |
| parent | 171c794002bac46a22c74a846ef3328628ed5d49 (diff) | |
| download | go-eb2bc919760d7a3e5ffd6022756cd7bda2f2dc63.tar.xz | |
net/http, net/internal, net/smtp: add wasip1
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: Ib49b7ccabe18de544455f7d09c7d715d6564a73d
Reviewed-on: https://go-review.googlesource.com/c/go/+/479625
Run-TryBot: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
Auto-Submit: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/net/http')
| -rw-r--r-- | src/net/http/roundtrip.go | 2 | ||||
| -rw-r--r-- | src/net/http/transport_default_other.go | 3 | ||||
| -rw-r--r-- | src/net/http/transport_default_wasm.go (renamed from src/net/http/transport_default_js.go) | 3 |
3 files changed, 3 insertions, 5 deletions
diff --git a/src/net/http/roundtrip.go b/src/net/http/roundtrip.go index c4c5d3b6eb..49ea1a71ed 100644 --- a/src/net/http/roundtrip.go +++ b/src/net/http/roundtrip.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build !js || !wasm +//go:build !js package http diff --git a/src/net/http/transport_default_other.go b/src/net/http/transport_default_other.go index 8a2f1cc42b..4f6c5c1271 100644 --- a/src/net/http/transport_default_other.go +++ b/src/net/http/transport_default_other.go @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build !(js && wasm) -// +build !js !wasm +//go:build !wasm package http diff --git a/src/net/http/transport_default_js.go b/src/net/http/transport_default_wasm.go index c07d35ef86..3946812d74 100644 --- a/src/net/http/transport_default_js.go +++ b/src/net/http/transport_default_wasm.go @@ -2,8 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -//go:build js && wasm -// +build js,wasm +//go:build (js && wasm) || wasip1 package http |
