src/net/main_wasm_test.go
raw| 1 | // Copyright 2023 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | //go:build wasip1 || js |
| 6 | |
| 7 | package net |
| 8 | |
| 9 | import "os/exec" |
| 10 | |
| 11 | func installTestHooks() {} |
| 12 | |
| 13 | func uninstallTestHooks() {} |
| 14 | |
| 15 | func forceCloseSockets() {} |
| 16 | |
| 17 | func addCmdInheritedHandle(cmd *exec.Cmd, fd uintptr) {} |