aboutsummaryrefslogtreecommitdiff
path: root/src/net/http
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/http')
-rw-r--r--src/net/http/roundtrip.go2
-rw-r--r--src/net/http/transport_default_other.go3
-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