util/racebuild: add package to export a race-is-enabled const
This commit is contained in:
7
util/racebuild/racebuild.go
Normal file
7
util/racebuild/racebuild.go
Normal file
@ -0,0 +1,7 @@
|
||||
// Copyright (c) 2020 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.
|
||||
|
||||
// Package racebuild exports a constant about whether the current binary
|
||||
// was built with the race detector.
|
||||
package racebuild
|
Reference in New Issue
Block a user