Skip to content

Commit 2287ec6

Browse files
committed
main: Remove old style build constraints.
This removes the old style build constraints that were required for versions of Go prior to version 1.17 now that now that the minimum actively supported version of Go is 1.18. Note that it intentionally does not remove them from the modules to avoid needlessly breaking any consumers that might still be using them form older versions of Go.
1 parent 0e7920c commit 2287ec6

File tree

8 files changed

+0
-8
lines changed

8 files changed

+0
-8
lines changed

internal/integration/rpctests/rpcserver_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
// This file is ignored during the regular tests due to the following build tag.
88
//go:build rpctest
9-
// +build rpctest
109

1110
package rpctests
1211

internal/integration/rpctests/treasury_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66
// This file is ignored during the regular tests due to the following build tag.
77
//go:build rpctest
8-
// +build rpctest
98

109
package rpctests
1110

internal/limits/limits_unix.go

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
// license that can be found in the LICENSE file.
55

66
//go:build !windows && !plan9
7-
// +build !windows,!plan9
87

98
package limits
109

internal/limits/memlimit.go

-1
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.19
6-
// +build go1.19
76

87
package limits
98

internal/limits/memlimit_old.go

-1
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.19
6-
// +build !go1.19
76

87
package limits
98

internal/version/version_buildinfo.go

-1
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.18
6-
// +build go1.18
76

87
package version
98

internal/version/version_nobuildinfo.go

-1
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.18
6-
// +build !go1.18
76

87
package version
98

signal_syscall.go

-1
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 windows || aix || android || darwin || dragonfly || freebsd || hurd || illumos || ios || linux || netbsd || openbsd || solaris
6-
// +build windows aix android darwin dragonfly freebsd hurd illumos ios linux netbsd openbsd solaris
76

87
package main
98

0 commit comments

Comments
 (0)