aboutsummaryrefslogtreecommitdiff
path: root/src/internal/abi/runtime.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/abi/runtime.go')
-rw-r--r--src/internal/abi/runtime.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/internal/abi/runtime.go b/src/internal/abi/runtime.go
index 9b91cdf5ef..2a3181a48d 100644
--- a/src/internal/abi/runtime.go
+++ b/src/internal/abi/runtime.go
@@ -4,5 +4,8 @@
package abi
-// ZeroValSize is the size in bytes of runtime.zeroVal.
+// ZeroValSize is the size in bytes of [ZeroVal].
const ZeroValSize = 1024
+
+// ZeroVal is a region containing all zero bytes.
+var ZeroVal [ZeroValSize]byte