Skip to content

Commit

Permalink
Bump xxhash to workaround checkptr errors with Go 1.14
Browse files Browse the repository at this point in the history
In Go 1.14 a 'checkptr' test was added to the -race build option to
check for correct usage of unsafe.Pointer. Version 1.3.2 of
OneOfOne/xxhash fails these checks causing OPA to fail these checks.
Version 1.3.6 of xxhash fixes these issues.

Signed-off-by: Dan Dooley <[email protected]>
(cherry picked from commit 6bb2a6d)
  • Loading branch information
danieldooley authored and patrick-east committed Mar 3, 2020
1 parent 3a713b3 commit c6375cc
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/open-policy-agent/opa
go 1.12

require (
github.com/OneOfOne/xxhash v1.2.3
github.com/OneOfOne/xxhash v1.2.7
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 // indirect
github.com/cespare/xxhash v1.1.0 // indirect
github.com/fsnotify/fsnotify v1.4.7 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
github.com/OneOfOne/xxhash v1.2.3 h1:wS8NNaIgtzapuArKIAjsyXtEN/IUjQkbw90xszUdS40=
github.com/OneOfOne/xxhash v1.2.3/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
github.com/OneOfOne/xxhash v1.2.7 h1:fzrmmkskv067ZQbd9wERNGuxckWw67dyzoMG62p7LMo=
github.com/OneOfOne/xxhash v1.2.7/go.mod h1:eZbhyaAYD41SGSSsnmcpxVoRiQ/MPUTjUdIIOT9Um7Q=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 h1:xJ4a3vCFaGF/jqvzLMYoU8P317H5OQ+Via4RmuPwCS0=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko=
Expand Down
5 changes: 3 additions & 2 deletions vendor/github.com/OneOfOne/xxhash/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions vendor/github.com/OneOfOne/xxhash/go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions vendor/github.com/OneOfOne/xxhash/xxhash.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/OneOfOne/xxhash/xxhash_safe.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion vendor/github.com/OneOfOne/xxhash/xxhash_unsafe.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# github.com/OneOfOne/xxhash v1.2.3
# github.com/OneOfOne/xxhash v1.2.7
github.com/OneOfOne/xxhash
# github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973
github.com/beorn7/perks/quantile
Expand Down

0 comments on commit c6375cc

Please sign in to comment.