summaryrefslogtreecommitdiffhomepage
path: root/device
diff options
context:
space:
mode:
Diffstat (limited to 'device')
-rw-r--r--device/queueconstants_default.go1
-rw-r--r--device/queueconstants_ios.go1
-rw-r--r--device/race_disabled_test.go3
-rw-r--r--device/race_enabled_test.go3
-rw-r--r--device/sticky_default.go1
5 files changed, 7 insertions, 2 deletions
diff --git a/device/queueconstants_default.go b/device/queueconstants_default.go
index d5c6927..fa2c055 100644
--- a/device/queueconstants_default.go
+++ b/device/queueconstants_default.go
@@ -1,3 +1,4 @@
+//go:build !android && !ios && !windows
// +build !android,!ios,!windows
/* SPDX-License-Identifier: MIT
diff --git a/device/queueconstants_ios.go b/device/queueconstants_ios.go
index 36c8704..21a0e26 100644
--- a/device/queueconstants_ios.go
+++ b/device/queueconstants_ios.go
@@ -1,3 +1,4 @@
+//go:build ios
// +build ios
/* SPDX-License-Identifier: MIT
diff --git a/device/race_disabled_test.go b/device/race_disabled_test.go
index 65fac7e..6552f22 100644
--- a/device/race_disabled_test.go
+++ b/device/race_disabled_test.go
@@ -1,4 +1,5 @@
-//+build !race
+//go:build !race
+// +build !race
/* SPDX-License-Identifier: MIT
*
diff --git a/device/race_enabled_test.go b/device/race_enabled_test.go
index f8ccac3..1abba5a 100644
--- a/device/race_enabled_test.go
+++ b/device/race_enabled_test.go
@@ -1,4 +1,5 @@
-//+build race
+//go:build race
+// +build race
/* SPDX-License-Identifier: MIT
*
diff --git a/device/sticky_default.go b/device/sticky_default.go
index 1cc52f6..fa39ac0 100644
--- a/device/sticky_default.go
+++ b/device/sticky_default.go
@@ -1,3 +1,4 @@
+//go:build !linux
// +build !linux
package device