Skip to content

Commit

Permalink
main: Remove old style build constraints.
Browse files Browse the repository at this point in the history
This removes the old style build constraints that were required for
versions of Go prior to version 1.17 now that only Go 1.18 and Go 1.19
are actively supported.

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.
  • Loading branch information
davecgh committed Dec 2, 2022
1 parent 0e7920c commit deaf063
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion internal/integration/rpctests/rpcserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

// This file is ignored during the regular tests due to the following build tag.
//go:build rpctest
// +build rpctest

package rpctests

Expand Down
1 change: 0 additions & 1 deletion internal/integration/rpctests/treasury_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

// This file is ignored during the regular tests due to the following build tag.
//go:build rpctest
// +build rpctest

package rpctests

Expand Down
1 change: 0 additions & 1 deletion internal/limits/limits_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// license that can be found in the LICENSE file.

//go:build !windows && !plan9
// +build !windows,!plan9

package limits

Expand Down
1 change: 0 additions & 1 deletion internal/limits/memlimit.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build go1.19
// +build go1.19

package limits

Expand Down
1 change: 0 additions & 1 deletion internal/limits/memlimit_old.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !go1.19
// +build !go1.19

package limits

Expand Down
1 change: 0 additions & 1 deletion internal/version/version_buildinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build go1.18
// +build go1.18

package version

Expand Down
1 change: 0 additions & 1 deletion internal/version/version_nobuildinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.

//go:build !go1.18
// +build !go1.18

package version

Expand Down
1 change: 0 additions & 1 deletion signal_syscall.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//
//go:build windows || aix || android || darwin || dragonfly || freebsd || hurd || illumos || ios || linux || netbsd || openbsd || solaris
// +build windows aix android darwin dragonfly freebsd hurd illumos ios linux netbsd openbsd solaris

package main

Expand Down

0 comments on commit deaf063

Please sign in to comment.