aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/runtime.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/runtime.go')
-rw-r--r--src/runtime/runtime.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/runtime/runtime.go b/src/runtime/runtime.go
index 6cf903d2c1..9b3ca719ea 100644
--- a/src/runtime/runtime.go
+++ b/src/runtime/runtime.go
@@ -305,5 +305,13 @@ func getAuxv() []uintptr { return auxv }
// zeroVal is used by reflect via linkname.
//
+// zeroVal should be an internal detail,
+// but widely used packages access it using linkname.
+// Notable members of the hall of shame include:
+// - github.com/ugorji/go/codec
+//
+// Do not remove or change the type signature.
+// See go.dev/issue/67401.
+//
//go:linkname zeroVal
var zeroVal [abi.ZeroValSize]byte