Skip to content

Commit

Permalink
Remove unnecessary +build tags
Browse files Browse the repository at this point in the history
The go:build tags are sufficient and the +build tags are no longer
needed since switching to Go 1.18.
  • Loading branch information
tklauser committed Jan 5, 2024
1 parent 882391a commit ea819b3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion numcpus_bsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// limitations under the License.

//go:build darwin || dragonfly || freebsd || netbsd || openbsd
// +build darwin dragonfly freebsd netbsd openbsd

package numcpus

Expand Down
1 change: 0 additions & 1 deletion numcpus_solaris.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// limitations under the License.

//go:build solaris
// +build solaris

package numcpus

Expand Down
1 change: 0 additions & 1 deletion numcpus_unsupported.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// limitations under the License.

//go:build !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows
// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows

package numcpus

Expand Down

0 comments on commit ea819b3

Please sign in to comment.