Skip to content

Commit 06c1a69

Browse files
hyangahgopherbot
authored andcommitted
counter: add illumos to the unsupported platform list
For golang/go#65544 For golang/go#65549 Change-Id: Icb8d598e419e6b34c184642a851a699be8b76382 Reviewed-on: https://go-review.googlesource.com/c/telemetry/+/563359 LUCI-TryBot-Result: Go LUCI <[email protected]> Auto-Submit: Hyang-Ah Hana Kim <[email protected]> Reviewed-by: Robert Findley <[email protected]>
1 parent 8f5e00a commit 06c1a69

File tree

6 files changed

+6
-5
lines changed

6 files changed

+6
-5
lines changed

counter/counter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build go1.19 && !openbsd && !js && !wasip1 && !solaris && !android
5+
//go:build go1.19 && !openbsd && !js && !wasip1 && !solaris && !android && !illumos
66

77
package counter
88

counter/counter_disabled.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build !go1.19 || openbsd || js || wasip1 || solaris || android
5+
//go:build !go1.19 || openbsd || js || wasip1 || solaris || android || illumos
66

77
package counter
88

counter/countertest/countertest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build go1.19 && !openbsd && !js && !wasip1 && !solaris && !android && !plan9 && !386
5+
//go:build go1.19 && !openbsd && !js && !wasip1 && !solaris && !android && !illumos && !plan9 && !386
66

77
// countertest provides testing utilities for counters.
88
// This package cannot be used except for testing.

counter/countertest/countertest_disabled.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build !go1.19 || openbsd || js || wasip1 || solaris || android || plan9 || 386
5+
//go:build !go1.19 || openbsd || js || wasip1 || solaris || android || plan9 || 386 || illumos
66

77
package countertest
88

counter/countertest/countertest_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5-
//go:build go1.21 && !openbsd && !js && !wasip1 && !solaris && !android
5+
//go:build go1.21 && !openbsd && !js && !wasip1 && !solaris && !android && !illumos
66

77
package countertest
88

internal/telemetry/mode.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ const DisabledOnPlatform = false ||
124124
runtime.GOOS == "openbsd" || // #60614
125125
runtime.GOOS == "solaris" || // #60968 #60970
126126
runtime.GOOS == "android" || // #60967
127+
runtime.GOOS == "illumos" || // #65544
127128
// These platforms fundamentally can't be supported:
128129
runtime.GOOS == "js" || // #60971
129130
runtime.GOOS == "wasip1" || // #60971

0 commit comments

Comments
 (0)