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.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/runtime.go b/src/runtime/runtime.go
index cc6f03d2a0..6ec0369a7e 100644
--- a/src/runtime/runtime.go
+++ b/src/runtime/runtime.go
@@ -5,6 +5,7 @@
package runtime
import (
+ "internal/abi"
"internal/runtime/atomic"
"unsafe"
)
@@ -296,3 +297,5 @@ func setCrashFD(fd uintptr) uintptr {
var auxv []uintptr
func getAuxv() []uintptr { return auxv } // accessed from x/sys/cpu; see issue 57336
+
+var zeroVal [abi.ZeroValSize]byte