aboutsummaryrefslogtreecommitdiff
path: root/src/net/netgo.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/netgo.go')
-rw-r--r--src/net/netgo.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/net/netgo.go b/src/net/netgo.go
new file mode 100644
index 00000000000..f91c91b6148
--- /dev/null
+++ b/src/net/netgo.go
@@ -0,0 +1,9 @@
+// Copyright 2022 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+//go:build netgo
+
+package net
+
+func init() { netGo = true }