-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to go 1.14 #4947
Update to go 1.14 #4947
Changes from all commits
85a9fad
9c6e9bd
88616dd
958b92e
654922a
72a41c3
0430766
171af45
3830e1a
5f923fc
061d29d
bdeca61
75b674c
2b06666
b86e39a
a6c8b0b
f3f805f
4974563
f10dad3
813ca38
07b887b
aa90a20
5a0c2dc
ff16da2
e489400
a7163a5
e28aaa5
b49af6c
49daf17
364758d
5ae56c2
76bf55f
6710641
6373c3a
a3af0ef
c4b1ae2
42cb320
acfdb5d
192b5ca
ed198fd
494c0fe
d998881
e0d39e2
5e47083
164fc40
1498e72
92db943
8430949
29466d5
c1d3994
5b5b7cd
e03d99a
1a45c30
02ad2dc
6c15627
3b04368
8ec0d43
99bcd43
36598aa
b1f11dc
38ad31b
6ec9224
aebc226
2f30880
83b65dc
13312a1
3faba70
c78962f
d007179
481e244
c22e09e
6d8fb9c
759b168
d5b5a8d
77c8649
d51f6f6
8ddf80f
61454b9
d799c90
1f94e68
ae56840
624e201
7f2ba4c
862928f
b9817e0
b4f042e
4bc9550
1431d13
2f2962b
ed128e8
29e16c0
a293f56
8778096
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") | ||
|
||
# Bolt DB is an archived project which is no longer maintained. As of go 1.14, | ||
# the go compiler adds checkptr to all builds when using -race or -msan. Since | ||
# bolt DB violates this check, we must disable checkptr for this library. | ||
# | ||
# See: https://golang.org/doc/go1.14 | ||
# See: https://github.com/etcd-io/bbolt/issues/187 | ||
|
||
go_library( | ||
name = "go_default_library", | ||
srcs = [ | ||
"bolt_386.go", | ||
"bolt_amd64.go", | ||
"bolt_arm.go", | ||
"bolt_arm64.go", | ||
"bolt_linux.go", | ||
"bolt_openbsd.go", | ||
"bolt_ppc64.go", | ||
"bolt_ppc64le.go", | ||
"bolt_s390x.go", | ||
"bolt_unix.go", | ||
"bolt_unix_solaris.go", | ||
"bolt_windows.go", | ||
"boltsync_unix.go", | ||
"bucket.go", | ||
"cursor.go", | ||
"db.go", | ||
"doc.go", | ||
"errors.go", | ||
"freelist.go", | ||
"node.go", | ||
"page.go", | ||
"tx.go", | ||
], | ||
gc_goopts = ["-d=checkptr=0"], # Required due to unsafe pointer usage. | ||
importpath = "github.com/boltdb/bolt", | ||
visibility = ["//visibility:public"], | ||
deps = select({ | ||
"@io_bazel_rules_go//go/platform:solaris": [ | ||
"@org_golang_x_sys//unix:go_default_library", | ||
], | ||
"//conditions:default": [], | ||
}), | ||
) | ||
|
||
go_test( | ||
name = "go_default_test", | ||
srcs = [ | ||
"bucket_test.go", | ||
"cursor_test.go", | ||
"db_test.go", | ||
"freelist_test.go", | ||
"node_test.go", | ||
"page_test.go", | ||
"quick_test.go", | ||
"simulation_test.go", | ||
"tx_test.go", | ||
], | ||
embed = [":go_default_library"], | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's ok to bundle this change in the same PR, perhaps just mention it in the description?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh yes good idea