Skip to content

Commit 1b15a4a

Browse files
authored
Merge pull request #2591 from rifeplight/master
refactor: drop legacy // +build comment
2 parents 707bdf7 + f33fa40 commit 1b15a4a

45 files changed

Lines changed: 0 additions & 45 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

accounts/keystore/watch.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

1717
//go:build (darwin && !ios && cgo) || freebsd || (linux && !arm64) || netbsd || solaris
18-
// +build darwin,!ios,cgo freebsd linux,!arm64 netbsd solaris
1918

2019
package keystore
2120

accounts/keystore/watch_fallback.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

1717
//go:build (darwin && !cgo) || ios || (linux && arm64) || windows || (!darwin && !freebsd && !linux && !netbsd && !solaris)
18-
// +build darwin,!cgo ios linux,arm64 windows !darwin,!freebsd,!linux,!netbsd,!solaris
1918

2019
// This is the fallback implementation of directory watching.
2120
// It is used on unsupported platforms.

common/bitutil/compress_fuzz.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
// along with the CortexFoundation library. If not, see <http://www.gnu.org/licenses/>.
1616

1717
//go:build gofuzz
18-
// +build gofuzz
1918

2019
package bitutil
2120

common/fdlimit/fdlimit_bsd.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

1717
//go:build freebsd || dragonfly
18-
// +build freebsd dragonfly
1918

2019
package fdlimit
2120

common/fdlimit/fdlimit_unix.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
// along with The go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

1717
//go:build linux || netbsd || openbsd || solaris
18-
// +build linux netbsd openbsd solaris
1918

2019
package fdlimit
2120

core/mkalloc.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
// along with the CortexFoundation library. If not, see <http://www.gnu.org/licenses/>.
1616

1717
//go:build none
18-
// +build none
1918

2019
/*
2120
The mkalloc tool creates the genesis allocation constants in genesis_alloc.go

core/vm/runtime/fuzz.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
// along with the CortexFoundation library. If not, see <http://www.gnu.org/licenses/>.
1616

1717
//go:build gofuzz
18-
// +build gofuzz
1918

2019
package runtime
2120

crypto/blake2b/blake2bAVX2_amd64.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build go1.7 && amd64 && !gccgo && !appengine
6-
// +build go1.7,amd64,!gccgo,!appengine
76

87
package blake2b
98

crypto/blake2b/blake2b_amd64.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build !go1.7 && amd64 && !gccgo && !appengine
6-
// +build !go1.7,amd64,!gccgo,!appengine
76

87
package blake2b
98

crypto/blake2b/blake2b_f_fuzz.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build gofuzz
2-
// +build gofuzz
32

43
package blake2b
54

0 commit comments

Comments
 (0)