Update to go1.20 (#12333)

* Update to go1.20

* Update gohashtree

* fix build tags for bytesutil and add nilness exclusion

* more broad nilness exclusion

* Reset nogo config

* Update golang.org/x/tools

* update rules_go to 0.39.0

---------

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
Preston Van Loon
2023-04-27 10:41:57 -05:00
committed by GitHub
parent cec631d760
commit 7dffee1c66
7 changed files with 117 additions and 105 deletions

View File

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

View File

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

View File

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