diff --git a/src/runtime/cgo/dragonfly.go b/src/runtime/cgo/dragonfly.go
index 96eb8660e06e70a7f123a6ff52c896ec9b4b0d39..69d52b5b2f97a4945431acddd247a368c16a52f7 100644
--- a/src/runtime/cgo/dragonfly.go
+++ b/src/runtime/cgo/dragonfly.go
@@ -6,7 +6,7 @@
 
 package cgo
 
-import _ "unsafe"
+import _ "unsafe" // for go:linkname
 
 // Supply environ and __progname, because we don't
 // link against the standard DragonFly crt0.o and the
diff --git a/src/runtime/cgo/freebsd.go b/src/runtime/cgo/freebsd.go
index 3b014323653db782eef6870c673c07e151f28482..62de1af8a002e0e4eef084293831748f866422fd 100644
--- a/src/runtime/cgo/freebsd.go
+++ b/src/runtime/cgo/freebsd.go
@@ -6,7 +6,7 @@
 
 package cgo
 
-import _ "unsafe"
+import _ "unsafe" // for go:linkname
 
 // Supply environ and __progname, because we don't
 // link against the standard FreeBSD crt0.o and the
diff --git a/src/runtime/cgo/iscgo.go b/src/runtime/cgo/iscgo.go
index 5544fd1e30787d24985206bffe166d078860b728..61cba73d2221a6768d965fd64401977fbc6c14d3 100644
--- a/src/runtime/cgo/iscgo.go
+++ b/src/runtime/cgo/iscgo.go
@@ -11,7 +11,7 @@
 
 package cgo
 
-import _ "unsafe"
+import _ "unsafe" // for go:linkname
 
 //go:linkname _iscgo runtime.iscgo
 var _iscgo bool = true
diff --git a/src/runtime/cgo/netbsd.go b/src/runtime/cgo/netbsd.go
index 67f96530c1f890bb8d46b7cb485c2dc66aac1156..ac6b18a93271eccaba2f9a0711ebfc28067da43d 100644
--- a/src/runtime/cgo/netbsd.go
+++ b/src/runtime/cgo/netbsd.go
@@ -6,7 +6,7 @@
 
 package cgo
 
-import _ "unsafe"
+import _ "unsafe" // for go:linkname
 
 // Supply environ and __progname, because we don't
 // link against the standard NetBSD crt0.o and the
diff --git a/src/runtime/cgo/openbsd.go b/src/runtime/cgo/openbsd.go
index 29ebcf83aac25d96d1fbcb6c51fa0976b2aeeb06..61af3a8e749694ee2807652978093cb1d5c0cc79 100644
--- a/src/runtime/cgo/openbsd.go
+++ b/src/runtime/cgo/openbsd.go
@@ -6,7 +6,7 @@
 
 package cgo
 
-import _ "unsafe"
+import _ "unsafe" // for go:linkname
 
 // Supply environ, __progname and __guard_local, because
 // we don't link against the standard OpenBSD crt0.o and
diff --git a/src/runtime/cgo/setenv.go b/src/runtime/cgo/setenv.go
index 1612f87c25971f3e870b91d808e527b353342b4d..97c8c6ac9d4af5d5c3ac3991966792dcf6f8f0c7 100644
--- a/src/runtime/cgo/setenv.go
+++ b/src/runtime/cgo/setenv.go
@@ -6,7 +6,7 @@
 
 package cgo
 
-import _ "unsafe"
+import _ "unsafe" // for go:linkname
 
 //go:cgo_import_static x_cgo_setenv
 //go:linkname x_cgo_setenv x_cgo_setenv