From: Austin Clements Date: Mon, 8 May 2023 15:52:48 +0000 (-0400) Subject: cmd/cgo: enable test with non-sensible build tag X-Git-Tag: go1.21rc1~526 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e9f1bb96bd4d9ddb1e77054dfc9d7b8ea4ca7fd6;p=gostls13.git 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 Reviewed-by: Bryan Mills Reviewed-by: Dmitri Shuralyov Run-TryBot: Austin Clements TryBot-Result: Gopher Robot --- 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