aboutsummaryrefslogtreecommitdiff
path: root/src/os/user/cgo_unix_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/user/cgo_unix_test.go')
-rw-r--r--src/os/user/cgo_unix_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/os/user/cgo_unix_test.go b/src/os/user/cgo_unix_test.go
index 1d341aa427..9ec32b3a78 100644
--- a/src/os/user/cgo_unix_test.go
+++ b/src/os/user/cgo_unix_test.go
@@ -2,8 +2,10 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//go:build (darwin || dragonfly || freebsd || (!android && linux) || netbsd || openbsd || solaris) && cgo && !osusergo
// +build darwin dragonfly freebsd !android,linux netbsd openbsd solaris
-// +build cgo,!osusergo
+// +build cgo
+// +build !osusergo
package user