// 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
// 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
// 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
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build !js && !plan9
+//go:build !js && !plan9 && !wasip1
package socktest_test
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build !js && !plan9 && !windows
+//go:build !js && !plan9 && !wasip1 && !windows
package socktest_test
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build unix || (js && wasm)
+//go:build unix || (js && wasm) || wasip1
package socktest
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build unix || (js && wasm)
+//go:build unix || (js && wasm) || wasip1
package socktest
`
func TestTLSClient(t *testing.T) {
- if runtime.GOOS == "freebsd" || runtime.GOOS == "js" {
+ if runtime.GOOS == "freebsd" || runtime.GOOS == "js" || runtime.GOOS == "wasip1" {
testenv.SkipFlaky(t, 19229)
}
ln := newLocalListener(t)