Skip to content

Commit 4c4d913

Browse files
build: Bump golang to 1.17.9/Mac M1 Support (algorand#3919)
Bump go version to 1.17.9 Also includes //+build => //go:build generated via make sanity Fixed some data races discovered by 1.17 race detector
1 parent 9e197de commit 4c4d913

File tree

16 files changed

+19
-6
lines changed

16 files changed

+19
-6
lines changed

compactcert/msgp_gen_test.go

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

merklearray/msgp_gen_test.go

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

merklesignature/msgp_gen_test.go

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

msgp_gen_test.go

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

secp256k1/dummy.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build dummy
12
// +build dummy
23

34
// This file is part of a workaround for `go mod vendor` which won't vendor

secp256k1/libsecp256k1/contrib/dummy.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build dummy
12
// +build dummy
23

34
// Package c contains only a C file.

secp256k1/libsecp256k1/dummy.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build dummy
12
// +build dummy
23

34
// Package c contains only a C file.

secp256k1/libsecp256k1/include/dummy.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build dummy
12
// +build dummy
23

34
// Package c contains only a C file.

secp256k1/libsecp256k1/src/dummy.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build dummy
12
// +build dummy
23

34
// Package c contains only a C file.

secp256k1/libsecp256k1/src/modules/dummy.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build dummy
12
// +build dummy
23

34
// Package c contains only a C file.

secp256k1/libsecp256k1/src/modules/ecdh/dummy.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build dummy
12
// +build dummy
23

34
// Package c contains only a C file.

secp256k1/libsecp256k1/src/modules/recovery/dummy.go

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build dummy
12
// +build dummy
23

34
// Package c contains only a C file.

secp256k1/panic_cb.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Use of this source code is governed by a BSD-style license that can be found in
33
// the LICENSE file.
44

5-
// +build !gofuzz
6-
// +build cgo
5+
//go:build !gofuzz && cgo
6+
// +build !gofuzz,cgo
77

88
package secp256k1
99

secp256k1/scalar_mult_cgo.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Use of this source code is governed by a BSD-style license that can be found in
33
// the LICENSE file.
44

5-
// +build !gofuzz
6-
// +build cgo
5+
//go:build !gofuzz && cgo
6+
// +build !gofuzz,cgo
77

88
package secp256k1
99

secp256k1/scalar_mult_nocgo.go

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a BSD-style license that can be found in
33
// the LICENSE file.
44

5+
//go:build gofuzz || !cgo
56
// +build gofuzz !cgo
67

78
package secp256k1

secp256k1/secp256.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Use of this source code is governed by a BSD-style license that can be found in
33
// the LICENSE file.
44

5-
// +build !gofuzz
6-
// +build cgo
5+
//go:build !gofuzz && cgo
6+
// +build !gofuzz,cgo
77

88
// Package secp256k1 wraps the bitcoin secp256k1 C library.
99
package secp256k1

0 commit comments

Comments
 (0)