aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/cgo/internal
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2023-05-08 11:52:48 -0400
committerAustin Clements <austin@google.com>2023-05-15 15:42:13 +0000
commite9f1bb96bd4d9ddb1e77054dfc9d7b8ea4ca7fd6 (patch)
treeeccc97e1211817f11b3ac74a61b4886d961e2191 /src/cmd/cgo/internal
parent974236bda9b9aad87b4b10ec9af2cc01b14e382f (diff)
downloadgo-e9f1bb96bd4d9ddb1e77054dfc9d7b8ea4ca7fd6.tar.xz
cmd/cgo: enable test with non-sensible build tag
The build tag on this file is currently unsatisfiable. It was clearly supposed to be "linux || freebsd || openbsd", but the test doesn't actually compile on FreeBSD or OpenBSD because they don't define SYS_gettid. Change the build tag to just "linux". Change-Id: Ifaffac5438e1b94a8588b5a00435461aa171a6fc Reviewed-on: https://go-review.googlesource.com/c/go/+/493603 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/cmd/cgo/internal')
-rw-r--r--src/cmd/cgo/internal/test/cgo_thread_lock.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/cgo/internal/test/cgo_thread_lock.go b/src/cmd/cgo/internal/test/cgo_thread_lock.go
index 1c983375d9..981830b6b9 100644
--- a/src/cmd/cgo/internal/test/cgo_thread_lock.go
+++ b/src/cmd/cgo/internal/test/cgo_thread_lock.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build linux && freebsd && openbsd
+//go:build linux
package cgotest