Disable conditional go 1.20 code until module is also at 1.20 (#12084)

* disable conditional go 1.20 code until we upgrade

* bazel decided this was unreachable and removed it!

---------

Co-authored-by: kasey <kasey@users.noreply.github.com>
This commit is contained in:
kasey 2023-03-07 10:25:35 -06:00 committed by GitHub
parent c3346fefa7
commit 0893821e35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View File

@ -5,7 +5,6 @@ go_library(
srcs = [ srcs = [
"bits.go", "bits.go",
"bytes.go", "bytes.go",
"bytes_go120.go",
"bytes_legacy.go", "bytes_legacy.go",
"eth_types.go", "eth_types.go",
"hex.go", "hex.go",

View File

@ -1,5 +1,5 @@
//go:build go1.20 //go:build prysmAt1.20
// +build go1.20 // +build prysmAt1.20
package bytesutil package bytesutil

View File

@ -1,5 +1,5 @@
//go:build !go1.20 //go:build !prysmAt1.20
// +build !go1.20 // +build !prysmAt1.20
package bytesutil package bytesutil