2021-05-12 21:12:41 +01:00
|
|
|
// Copyright (c) 2021 Tailscale Inc & AUTHORS All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2021-08-05 23:42:39 +01:00
|
|
|
//go:build race
|
2021-05-12 21:12:41 +01:00
|
|
|
// +build race
|
|
|
|
|
|
|
|
package version
|
|
|
|
|
|
|
|
// IsRace reports whether the current binary was built with the Go
|
|
|
|
// race detector enabled.
|
|
|
|
func IsRace() bool { return true }
|