Skip to content

Commit

Permalink
Committing gc_goopts for issue repro
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonvanloon committed Mar 11, 2020
1 parent b9817e0 commit b4f042e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions beacon-chain/blockchain/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ go_test(
"service_norace_test.go",
],
embed = [":go_default_library"],
gc_goopts = [
# Go 1.14 enables checkptr by default when building with -race or -msan. There is a pointer
# issue in boltdb, so must disable checkptr at compile time. This flag can be removed once
# the project is migrated to etcd's version of boltdb and the issue has been fixed.
# See: https://github.com/etcd-io/bbolt/issues/187.
"-d=checkptr=0",
],
race = "on",
tags = ["race_on"],
deps = [
Expand Down

0 comments on commit b4f042e

Please sign in to comment.