Skip to content

Commit

Permalink
remove obsolete build tag
Browse files Browse the repository at this point in the history
Signed-off-by: tyltr <[email protected]>
  • Loading branch information
tylitianrui committed Jan 17, 2024
1 parent a6b35ff commit f97fa27
Show file tree
Hide file tree
Showing 34 changed files with 0 additions and 34 deletions.
1 change: 0 additions & 1 deletion cmd/prometheus/main_unix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
// limitations under the License.
//
//go:build !windows
// +build !windows

package main

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

//go:build !windows
// +build !windows

package config

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

//go:build plugins
// +build plugins

package main

Expand Down
1 change: 0 additions & 1 deletion promql/fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

// Only build when go-fuzz is in use
//go:build gofuzz
// +build gofuzz

package promql

Expand Down
1 change: 0 additions & 1 deletion promql/fuzz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

// Only build when go-fuzz is in use
//go:build gofuzz
// +build gofuzz

package promql

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

//go:build tools
// +build tools

// Package tools tracks dependencies for tools that are required to generate the protobuf code.
// See https://github.com/golang/go/issues/25922
Expand Down
1 change: 0 additions & 1 deletion tsdb/chunks/head_chunks_other.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
// limitations under the License.

//go:build !windows
// +build !windows

package chunks

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

//go:build !windows
// +build !windows

package fileutil

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

//go:build windows
// +build windows

package fileutil

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

//go:build js
// +build js

package fileutil

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

//go:build solaris
// +build solaris

package fileutil

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

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

package fileutil

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

//go:build windows
// +build windows

package fileutil

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

//go:build windows
// +build windows

package fileutil

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

//go:build windows
// +build windows

package fileutil

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

//go:build js
// +build js

package fileutil

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

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

package fileutil

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

//go:build !linux && !darwin
// +build !linux,!darwin

package fileutil

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

//go:build !linux && !darwin
// +build !linux,!darwin

package fileutil

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

//go:build darwin
// +build darwin

package fileutil

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

//go:build linux
// +build linux

package fileutil

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

//go:build go1.12
// +build go1.12

// Package goversion enforces the go version supported by the tsdb module.
package goversion
Expand Down
1 change: 0 additions & 1 deletion tsdb/wal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
// limitations under the License.

//go:build !windows
// +build !windows

package tsdb

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

//go:build !windows
// +build !windows

package runtime

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

//go:build windows
// +build windows

package runtime

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

//go:build openbsd || windows || netbsd || solaris
// +build openbsd windows netbsd solaris

package runtime

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

//go:build !windows && !openbsd && !netbsd && !solaris && !386
// +build !windows,!openbsd,!netbsd,!solaris,!386

package runtime

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

//go:build linux && 386
// +build linux,386

package runtime

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

//go:build (386 && darwin) || (386 && freebsd)
// +build 386,darwin 386,freebsd

package runtime

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

//go:build !linux
// +build !linux

package runtime

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

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

package runtime

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

//go:build openbsd
// +build openbsd

package runtime

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

//go:build builtinassets
// +build builtinassets

package ui

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

//go:build !builtinassets
// +build !builtinassets

package ui

Expand Down

0 comments on commit f97fa27

Please sign in to comment.