diff options
Diffstat (limited to 'src/internal/abi')
-rw-r--r-- | src/internal/abi/map.go | 3 | ||||
-rw-r--r-- | src/internal/abi/runtime.go | 8 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/internal/abi/map.go b/src/internal/abi/map.go index b475cf9943..12ad1b891a 100644 --- a/src/internal/abi/map.go +++ b/src/internal/abi/map.go @@ -17,6 +17,3 @@ const ( MapMaxKeyBytes = 128 MapMaxElemBytes = 128 // Must fit in a uint8. ) - -// ZeroValSize is the size in bytes of runtime.zeroVal. -const ZeroValSize = 1024 diff --git a/src/internal/abi/runtime.go b/src/internal/abi/runtime.go new file mode 100644 index 0000000000..9b91cdf5ef --- /dev/null +++ b/src/internal/abi/runtime.go @@ -0,0 +1,8 @@ +// Copyright 2024 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. + +package abi + +// ZeroValSize is the size in bytes of runtime.zeroVal. +const ZeroValSize = 1024 |