Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove obsolete build tags #6402

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion conf/fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
// limitations under the License.

//go:build gofuzz
// +build gofuzz

package conf

Expand Down
1 change: 0 additions & 1 deletion logger/syslog.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 logger

Expand Down
1 change: 0 additions & 1 deletion logger/syslog_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 logger

Expand Down
1 change: 0 additions & 1 deletion logger/syslog_windows_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 logger

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

//go:build !race && !skip_no_race_tests
// +build !race,!skip_no_race_tests

package avl

Expand Down
1 change: 0 additions & 1 deletion server/disk_avail.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 && !wasm
// +build !windows,!openbsd,!netbsd,!wasm

package server

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

//go:build netbsd
// +build netbsd

package server

Expand Down
1 change: 0 additions & 1 deletion server/disk_avail_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 server

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

//go:build wasm
// +build wasm

package server

Expand Down
1 change: 0 additions & 1 deletion server/disk_avail_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 server

Expand Down
1 change: 0 additions & 1 deletion server/errors_gen.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//go:build ignore
// +build ignore

package main

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

//go:build !skip_store_tests
// +build !skip_store_tests

package server

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

//go:build gofuzz
// +build gofuzz

package server

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

//go:build !skip_js_tests && !skip_js_cluster_tests && !skip_js_cluster_tests_2
// +build !skip_js_tests,!skip_js_cluster_tests,!skip_js_cluster_tests_2

package server

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

//go:build !skip_js_tests && !skip_js_cluster_tests
// +build !skip_js_tests,!skip_js_cluster_tests

package server

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

//go:build !skip_js_tests && !skip_js_cluster_tests_2
// +build !skip_js_tests,!skip_js_cluster_tests_2

package server

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

//go:build !skip_js_tests && !skip_js_cluster_tests_3
// +build !skip_js_tests,!skip_js_cluster_tests_3

package server

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

//go:build !skip_js_tests && !skip_js_cluster_tests_4
// +build !skip_js_tests,!skip_js_cluster_tests_4

package server

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

// This test file is skipped by default to avoid accidentally running (e.g. `go test ./server`)
//go:build !skip_js_tests && include_js_long_tests
// +build !skip_js_tests,include_js_long_tests

package server

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

//go:build !skip_js_tests
// +build !skip_js_tests

package server

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

//go:build !skip_js_tests
// +build !skip_js_tests

package server

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

//go:build !skip_js_tests
// +build !skip_js_tests

package server

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

//go:build !skip_js_tests && !skip_js_cluster_tests && !skip_js_cluster_tests_2
// +build !skip_js_tests,!skip_js_cluster_tests,!skip_js_cluster_tests_2

package server

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

//go:build !skip_js_tests && !skip_js_cluster_tests && !skip_js_cluster_tests_2 && !skip_js_super_cluster_tests
// +build !skip_js_tests,!skip_js_cluster_tests,!skip_js_cluster_tests_2,!skip_js_super_cluster_tests

package server

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

//go:build !skip_js_tests
// +build !skip_js_tests

package server

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

//go:build !skip_js_tests
// +build !skip_js_tests

package server

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

//go:build !skip_store_tests
// +build !skip_store_tests

package server

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

//go:build !skip_mqtt_tests
// +build !skip_mqtt_tests

package server

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

//go:build !skip_mqtt_tests
// +build !skip_mqtt_tests

package server

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

//go:build !skip_mqtt_tests
// +build !skip_mqtt_tests

package server

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

//go:build !skip_msgtrace_tests
// +build !skip_msgtrace_tests

package server

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

//go:build !race && !skip_no_race_tests
// +build !race,!skip_no_race_tests

package server

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

//go:build !amd64
// +build !amd64

package pse

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

//go:build rumprun
// +build rumprun

package pse

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

//go:build wasm
// +build wasm

package pse

Expand Down
1 change: 0 additions & 1 deletion server/pse/pse_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 pse

Expand Down
1 change: 0 additions & 1 deletion server/pse/pse_windows_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 pse

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

//go:build zos
// +build zos

package pse

Expand Down
1 change: 0 additions & 1 deletion server/service.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 server

Expand Down
1 change: 0 additions & 1 deletion server/service_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 server

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

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

package server

Expand Down
1 change: 0 additions & 1 deletion server/signal_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 server

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

//go:build wasm
// +build wasm

package server

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

//go:build !skip_store_tests
// +build !skip_store_tests

package server

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

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

package sysmem

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

//go:build darwin
// +build darwin

package sysmem

Expand Down
1 change: 0 additions & 1 deletion server/sysmem/mem_linux.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 sysmem

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

//go:build wasm
// +build wasm

package sysmem

Expand Down
1 change: 0 additions & 1 deletion server/sysmem/mem_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 sysmem

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

//go:build zos
// +build zos

package sysmem

Expand Down
Loading
Loading