vendor tsgo
This commit is contained in:
7
tools/tsgo/internal/testutil/race/norace.go
Normal file
7
tools/tsgo/internal/testutil/race/norace.go
Normal file
@@ -0,0 +1,7 @@
|
||||
//go:build !race
|
||||
|
||||
// Package israce reports if the Go race detector is enabled.
|
||||
package race
|
||||
|
||||
// Enabled reports if the race detector is enabled.
|
||||
const Enabled = false
|
||||
7
tools/tsgo/internal/testutil/race/race.go
Normal file
7
tools/tsgo/internal/testutil/race/race.go
Normal file
@@ -0,0 +1,7 @@
|
||||
//go:build race
|
||||
|
||||
// Package israce reports if the Go race detector is enabled.
|
||||
package race
|
||||
|
||||
// Enabled reports if the race detector is enabled.
|
||||
const Enabled = true
|
||||
Reference in New Issue
Block a user