control/controlclient: only build certstore-related code with the Tailscale Go toolchain

The certstore code is impacted by golang/go#51726.
The Tailscale Go toolchain fork contains a temporary workaround,
so it can compile it. Once the upstream toolchain can compile certstore,
presumably in Go 1.18.1, we can revert this change.

Note that depaware runs with the upstream toolchain.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
Josh Bleecher Snyder
2022-03-16 11:55:44 -07:00
committed by Josh Bleecher Snyder
parent 0ef74f37a5
commit 26021b07ec
4 changed files with 6 additions and 8 deletions

View File

@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//go:build windows && cgo
// +build windows,cgo
//go:build windows && cgo && tailscale_go
// +build windows,cgo,tailscale_go
package controlclient